Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionsince 9.5 - use
SpaceSynchronizationEndpointinstead.since 9.5 - useSpaceSynchronizationEndpointandDataSyncOperationinstead.since 9.5 - useSpaceSynchronizationEndpointinstead.since 9.5 - useSpaceDataSourceinstead.since 9.5 - useSpaceDataSourceandSpaceSynchronizationEndpointinstead.since 9.5 - useSpaceDataSourceorSpaceSynchronizationEndpointinstead.since 9.5 - useSpaceDataSourceinstead.Part of the legacy InfluxDB reporter infrastructure. Use the native MicrometerInfluxMeterRegistryinstead, configured viametrics.registries=influxdbin metrics.properties.Used only by the legacyMetricManager. Process metrics are now registered byMicrometerMetricManager.UseCredentialsProviderinstead.Since 8.0 - This interface is reserved for internal usage only.Since 8.0 - This interface is reserved for internal usage only.Since 8.0 - This class is reserved for internal usage only.UseTaskorDistributedTaskinstead.This interface is reserved for internal usage only.This interface is reserved for internal usage only.since 9.0.1 - seeTransactionParticipantMetaData.since 9.5 - usePersistencyExceptionHandlerinstead.since 9.5 - useManagedEntriesSpaceDataSourceorManagedEntriesSpaceSynchronizationEndpointinstead.
-
Deprecated ClassesClassDescriptionSince 9.7.0 - Use GigaSpace.newDataEventSession instead.since 9.0.0 - see
TransactionOnePhaseReplicationPacketDataUseExporterinstead orGenericExporterSince 10.1.0 - use ConcurrentBoundedSoftCache insteadUsed only by the legacyMetricManager. Process metrics are now registered byMicrometerMetricManager.Used only by the legacyMetricManager. JVM memory metrics are now registered byMicrometerMetricManagervia Micrometer'sJvmMemoryMetricsbinder.Used only by the legacyMetricManager. JVM uptime metrics are now registered byMicrometerMetricManagervia Micrometer'sUptimeMetricsbinder.Used only by the legacyMetricManager. JVM thread metrics are now registered byMicrometerMetricManagervia Micrometer'sJvmThreadMetricsbinder.Use Micrometer'sGaugeinstead. Register viaio.micrometer.core.instrument.Gauge.builder(...).register(meterRegistry).Part of the legacy internal gauge hierarchy used by the deprecatedMetricSamplerand process metric factories.Internal implementation for the deprecatedMetricManager. The active registrator isMicrometerRegistrator.UseTimerfor latency measurementsUseAtomicLongwith Micrometer Gauge, orCounterfor monotonic countersUse Micrometer metric types directly (io.micrometer.core.instrument.*)Part of the legacy metrics system used by the deprecatedMetricRegistry.Part of the legacy metrics reporter system. Used only by deprecated reporters.UseMicrometerMetricManagerinstead.MetricManager.acquire()has no active callers in production code.Configuration class for the deprecatedMetricManager. Metrics are now configured viametrics.propertiesor environment variables read byMicrometerRegistryBuilder.Part of the legacy metrics pattern matching used by the deprecatedMetricManager.Part of the legacy metrics pattern matching used by the deprecatedMetricManager.Part of the legacy metrics system used by the deprecatedMetricManager. Metrics storage is now handled by Micrometer'sMeterRegistry.Part of the legacy metrics reporter system. Used only by deprecated reporters.Part of the legacy metrics reporter system driven bymetrics.xml. Use Micrometer'sMeterRegistryinstead.Part of the legacy metrics reporter system driven bymetrics.xml. UseGsMeterRegistryProviderinstead for pluggable Micrometer registry backends.Part of the legacy periodic sampling system used by the deprecatedMetricManager. Micrometer backends handle their own scheduling internally.Configuration for the deprecatedMetricSampler. Micrometer backends use their own step/interval configuration.Part of the legacy metrics tag system. Use Micrometer'sTagsinstead.Part of the legacy metrics reporter system. Used only by deprecated reporters.Unused legacy utility class.Part of the legacy metrics reporter system driven bymetrics.xml. Use Micrometer'sLoggingMeterRegistryinstead, configured viametrics.registries=fileinmetrics.properties.Part of the legacy metrics reporter system driven bymetrics.xml. Use Micrometer'sLoggingMeterRegistryinstead, configured viametrics.registries=fileinmetrics.properties.Part of the legacy metrics reporter system driven bymetrics.xml. Use Micrometer'sLoggingMeterRegistrywith file output instead, configured viametrics.registries=fileandmetrics.file.path=...inmetrics.properties.Part of the legacy metrics reporter system driven bymetrics.xml. Use Micrometer'sLoggingMeterRegistrywith file output instead, configured viametrics.registries=fileandmetrics.file.path=...inmetrics.properties.UseCounterwith monitoring system rate queriesUseDefaultCredentialsProviderinstead.Since 8.0 - UseSpaceTypeDescriptorinstead.Since 8.0 - This class has been deprecated and will be removed in future versions. For id-based queries, use the GigaSpace.readById/readByIds and related overloades. For extended matching, use SQLQuery. For weak-type entries, use SpaceDocument.Since 8.0 - Use JINI transactions instead.Since 8.0 - This class is reserved for internal usage only.UseDataEventSessioninstead.useNotifyActionTypeUseUrlSpaceConfigurerinstead.Since 8.0 - UseSQLQueryinstead.UseMapConfigurerinstead.since 12.3 use EqualIndex insteadsince 12.3 use OrderedIndex or EqualOrdered insteadSince 8.0.4 - useGatewaySinkSourceAPI instead.useEventDrivencontainers insteadsince 8.0 - useDistributedJiniTxManagerConfigurerinstead.since 9.5since 9.5 - useSpaceDataSourceSplitterorSpaceSynchronizationEndpointSplitterinstead.since 9.5 - useSpaceSynchronizationEndpointExceptionHandlerinstead.since 9.5 - useSpaceSynchronizationEndpointSplitterinstead.since 9.5 - useSpaceDataSourceSplitterinstead.since 9.5 - useSpaceDataSourceExceptionHandlerinstead.since 9.5 - useSpaceDataSourceSplitterinstead.since 8.0
-
Deprecated Enum ClassesEnum ClassDescriptionsince 9.0.1 -
DataSyncOperationType.Since 9.0.0 - This class is intended for internal usage only; UseStorageTypeinstead.
-
Deprecated ExceptionsExceptionsDescriptionThis exception is no longer thrown.since 7.1. Use operation specific exception
ReadMultipleException,TakeMultipleExceptionorClearExceptionsince 7.1. useWriteMultipleExceptionThis exception is no longer thrown.since 7.1. Use operation specific exceptionReadMultipleException,TakeMultipleExceptionorClearExceptionsince 7.1. useWriteMultipleException
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionSince 9.7 - event listener with custom lease or custom auto-renew is deprecated.
-
Deprecated FieldsFieldDescriptionSince 9.7 - Custom auto-renew id deprecated.Since 9.7 - Custom auto-renew id deprecated.Since 9.7 - Custom auto-renew id deprecated.since 9.6 - register using specific modifiers instead.Since 8.0. This constant is relevant only in the old depracated replication module and will be removed in a future version.Since 8.0. This constant is relevant only in the old depracated replication module and will be removed in a future version.Since 8.0. This constant is relevant only in the old depracated replication module and will be removed in a future version.Since 9.0.0This is the default behavior, for old behavior use
Modifiers.IGNORE_PARTIAL_FAILUREsince 9.6 - register using specific modifiers instead.useGigaSpace.takeById(Class, Object, Object)insteadThis is the default behavior, for old behavior useReadModifiers.IGNORE_PARTIAL_FAILUREuseFifoSupportinstead.No longer in the cluster policy. Included in a space configuration. In order to get the attributes use: ((JSpaceAttributes)JProperties.getSpaceProperties(getServiceName())).getDCacheProperties().No longer in the cluster policy. Included in a space configuration. In order to get the configuration name use: ((JSpaceAttributes)JProperties.getSpaceProperties(getServiceName())).getDCacheConfigName().this operation code is deprecated. There is no need for ON_INIT , since when filter's init() is called the space is already initializedUseUpdateModifiers.NO_RETURN_VALUEinsteadUseUpdateModifiers.NO_RETURN_VALUEinsteadUseClassReader.readByte(int)and the other read methods instead. This field will eventually be deleted.This API is experimental.
-
Deprecated MethodsMethodDescriptionSince 8.0 - To disable an index from the super class, override the relevant property with
@SpaceIndex(SpaceIndexType.NONE).since 7.1 . Use @SpaceIndex insteadSince 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.Since 8.0 - UseGigaSpaceinstead.since 9.0.1 - useDataSyncOperation.getDataAsDocument()orDataSyncOperation.getDataAsObject()instead.since 9.0.1 - useDataSyncOperation.getDataSyncOperationType()instead.for batch operations useBulkDataPersisterSince 9.7Since 9.7Since 9.7 - Customizing auto renew is deprecated, use the simple setAutoRenew(boolean, LeaseListener) instead.Since 9.0 useEventSessionConfig.setDurableNotifications(boolean)instead.Since 8.0 - This method is reserved for internal usage.Since 8.0 - This method is reserved for internal usage.since 7.0.1. Is not part of current security model.Should only be used for backward conversion details prior of 9.0.1Since 16.4.0 - useIRemoteSpace.snapshot(ITemplatePacket, SpaceContext)instead.since 16.2 - useSpaceTypeDescriptor.getIdPropertiesNames()instead.This method exists for backward compatibility onlySince 17.1.5 - All legacy metrics have been migrated. This method will be removed in v18.0.since 15.5 - useAuthorityFactory.valueOf(String)instead.Since 10.1 - Use countIncomingConnections insteadTo restart a space, restart the corresponding processing unit instanceTo stop and start a space, restart the corresponding processing unit instanceTo stop and start a space, restart the corresponding processing unit instanceSince 16.2 - use GigaSpaceTypeManager#unregisterTypeDescriptor method insteadSince 8.0 - UseGigaSpaceTypeManager.getTypeDescriptorinstead.Since 8.0 - This method is relevant only in the old deprecated replication module and will be removed in a future version.since 9.1 useEntryArrivedRemoteEvent.getNotifyActionType()instead.useGigaSpace.takeById(Class, Object, Object)insteadThis is the default behavior, for old behavior useReadModifiers.IGNORE_PARTIAL_FAILUREUse SQLQuery with parameters instead of a template.since 9.5 - Use getTargetDetails().getHostName() instead.since 9.5 - Use getTargetDetails().getProcessId() instead.Since 16.2 - use GigaSpaceTypeManager#unregisterTypeDescriptor method insteadSince 8.0 - This method is reserved for internal usage.Since 8.0.3 - UseIWriteResult.getLeaseContext()instead.use explicit transaction insteaduse explicit transaction insteadsince 9.0.1 - useBulkDataPersisterContext.getTransactionParticipantMetaData()instead.this method is superseded byClassWriter.newHandle(int, String, String, String, boolean).Useinstead.Useinstead.Deprecation since 10.1.1 - apply usingApplication.getProcessingUnits(). Processing Unit instance service statistics history size; DefaultStatisticsMonitor.DEFAULT_HISTORY_SIZE.Since 15.5 - use @ProcessingUnit.undeployAsync()instead.- since 9.5.0 - please use the following alternatives: For retrieving planned number of partitions useProcessingUnit.getPlannedNumberOfPartitions(). Otherwise useProcessingUnit.getPlannedNumberOfInstances()for retrieving planned number of stateful (primary+backup Space instances) -or- stateless pu instances. Note that this method does not count the number of running instances, but rather the number of planned instances for the processing unit. To count the number of currently discovered running processing unit instances use the methodProcessingUnit.getInstances().This method is deprecated in favor ofProcessingUnit.getRequiredContainerZones()- since 9.6.0 - please useProcessingUnit.getPlannedNumberOfInstances()Note that this method does not count the number of running instances, but rather the total number of planned instances for the processing unit. To count the number of active processing unit instances please use the methodProcessingUnit.getInstances().since 10.1.0 replaced byProcessingUnitInstanceProvisionStatusChangedEvent.getProvisionFailure()Since 8.0.3 - useReplicationTarget.getTargetType()instead.Since 8.0.4 - useGatewaySinkSource.bootstrapFromGatewayAndWait()instead.Since 8.0.4 - useGatewaySink.enableIncomingReplication()instead.since 10.1.0 - usage alternatives: 1.GigaSpace.prepareTemplate(Object)if one needs to prepare and cache the template as pre-processed packet without accessing the server. 2.GigaSpaceTypeManager.registerTypeDescriptor(Class)orGigaSpaceTypeManager.registerTypeDescriptor(com.gigaspaces.metadata.SpaceTypeDescriptor)if one wants to introduce (register) a new type to the space. 3. It's possible to combine (1) and (2) to achieve full snapshot functionalitySince 12.0 - Use #setCustomComponent instead.Since 10.1UseFifoSupportinstead.UseUrlSpaceConfigurer.credentials(String, String)instead.Since 12.0 - Use #setCustomComponent instead.since 9.1 useNotifyEventContainerServiceDetails.isNotifyMatched()orNotifyEventContainerServiceDetails.isNotifyRematched()instead.Since 9.0 useSimpleNotifyContainerConfigurer.durable(boolean)instead.Since 9.7 - event listener with custom lease is deprecated.Since 9.7Since 9.7Since 9.7Since 9.0 useSimpleNotifyEventListenerContainer.setDurable(Boolean)instead.Since 9.7 - event listener with custom lease is deprecated.Since 9.7Since 9.7Since 9.7
-
Deprecated ConstructorsConstructorDescriptionsince 9.0 use setters insteadsince 9.0 use setters insteadUse
SQLQuery(Class, String)orSQLQuery(String, String)instead.this constructor has been superseded byHandle(int, String, String, String, boolean).since 9.0 UseCustomServiceDetails(String, String, String, String)instead - constructor that does not receive service type as parameter since custom type is alwaysCustomServiceDetails.SERVICE_TYPE
-
Deprecated Enum ConstantsEnum ConstantDescriptionSince 8.0.1 - Use DEFAULT instead.since 12.3 - use
SpaceIndexType.EQUALinstead.since 12.3 - useSpaceIndexType.ORDEREDorSpaceIndexType.EQUAL_AND_ORDEREDinstead.Since 8.0.1 - Use DEFAULT instead.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionSince 8.0 - To disable an index from the super class, override the relevant property with
@SpaceIndex(SpaceIndexType.NONE).since 7.1 . Use @SpaceIndex instead
GigaSpaceinstead.