Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescription"User Code Deployment" is replaced by the "User Code Namespaces" featureuse
ClusterRoutingConfig.setRoutingMode(RoutingMode)
instead.use RestConfig instead. Will be removed at 6.0.use Config.getRestConfig() instead. Will be removed at 6.0.use RestConfig instead. Will be removed at 6.0.use RestConfig instead. Will be removed at 6.0.use RestConfig instead. Will be removed at 6.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0."User Code Deployment" is replaced by the "User Code Namespaces" featureUseFileSources.files(java.lang.String)
. Will be removed in Jet 5.0.UseFileSources.files(java.lang.String)
. Will be removed in Jet 5.0.UseFileSources.files(java.lang.String)
. Will be removed in Jet 5.0.UseRuntimeContext()
andRuntimeContext.addStatefulSetInfo(String, StatefulSetInfo, String)
instead. This constructor is provided for backward compatibility only.Creates a
RuntimeContext(int, int, int, java.lang.String)
that can model a single StatefulSet. The createdRuntimeContext(int, int, int, java.lang.String)
is thread-safe. The view of state returned by this constructor supports the following API:RuntimeContext.getCurrentReplicas()
RuntimeContext.getReadyReplicas()
RuntimeContext.getSpecifiedReplicaCount()
RuntimeContext.getResourceVersion()
RuntimeContext.toString()
All other method invocations will throw
UnsupportedOperationException
.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0."User Code Deployment" is replaced by the "User Code Namespaces" featurethis method always returns0
for DML statements and should not be used.
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionbecause of renaming purposes. Please use
PersistenceService
instead.UseICacheManager
instead.After 5.0 Jet was merged into core Hazelcast product. Jet became a service of Hazelcast instead of being an instance of its own that encapsulatesHazelcastInstance
. Please useJetService
instead.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
-
Deprecated ClassesClassDescription"User Code Deployment" is replaced by the "User Code Namespaces" featureuse RestConfig instead. Will be removed at 6.0.use RestConfig instead. Will be removed at 6.0."User Code Deployment" is replaced by the "User Code Namespaces" featureuse
JetConfig
instead.After 5.0 Jet was merged into core Hazelcast product. Use theHazelcast
class as the entry point.Capacity
should be used instead.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0."User Code Deployment" is replaced by the "User Code Namespaces" feature
-
Deprecated Enum ClassesEnum ClassDescriptionuse RestConfig instead. Will be removed at 6.0.
-
Deprecated FieldsFieldDescriptionUse
ClientProperty.METRICS_ENABLED
("hazelcast.client.metrics.enabled"
) instead.UseClientProperty.METRICS_COLLECTION_FREQUENCY
("hazelcast.client.metrics.collection.frequency"
) instead.
-
Deprecated MethodsMethodDescriptionthis option is superseded by
ClusterRoutingConfig.getRoutingMode()
this option is superseded byClusterRoutingConfig.setRoutingMode(RoutingMode)
}.useClusterRoutingConfig.setRoutingMode(RoutingMode)
instead.the method is unusedthe method is unuseduse RestConfig instead. Will be removed at 6.0.useMerkleTreeConfig.getEnabled()
instead.multiple persistent memory directories are supported. Please usePersistentMemoryConfig.getDirectoryConfigs()
instead.useNativeMemoryConfig.getCapacity()
instead.multiple persistent memory directories are supported. Please useNativeMemoryConfig.setPersistentMemoryConfig(PersistentMemoryConfig)
orPersistentMemoryConfig.addDirectoryConfig(PersistentMemoryDirectoryConfig)
instead.useNativeMemoryConfig.setCapacity(Capacity)
instead.use Config.getRestConfig() instead. Will be removed at 6.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.UsePersistenceService.isBackupEnabled()
instead.The fields fromInstanceConfig
class were moved toJetConfig
class. Get the fields directly fromJetConfig
.The fields fromInstanceConfig
class were moved toJetConfig
class. Set the fields directly onJetConfig
.UsehazelcastInstance().getJet()
instead.Please useHazelcast.bootstrappedInstance()
and then getJetService
from the createdHazelcastInstance
by usingHazelcastInstance.getJet()
}.UseHazelcastClient.newHazelcastClient()
and then getJetService
from the createdHazelcastInstance
client by usingHazelcastInstance.getJet()
}.UseHazelcastClient.newHazelcastClient(ClientConfig)
and then getJetService
from the createdHazelcastInstance
client by usingHazelcastInstance.getJet()
}.UseHazelcastClient.newHazelcastFailoverClient()
and then getJetService
from the createdHazelcastInstance
client by usingHazelcastInstance.getJet()
}.UseHazelcastClient.newHazelcastFailoverClient(ClientFailoverConfig)
and then getJetService
from the createdHazelcastInstance
client by usingHazelcastInstance.getJet()
}.Please useHazelcast.newHazelcastInstance()
and then getJetService
from the createdHazelcastInstance
by usingHazelcastInstance.getJet()
}.UseHazelcast.newHazelcastInstance(Config)
and then getJetService
from the createdHazelcastInstance
by usingHazelcastInstance.getJet()
}.UseICacheManager.getCache(String)
instead.UseHazelcastInstance.getCacheManager()
instead.UseHazelcastInstance.getCluster()
instead.Because we first access toHazelcastInstance
and thenJetService
from the product's entry point -Hazelcast
-, we don't need to this back reference anymore. This class made sense when the entry point wasJet
.UseHazelcastInstance.getList(String)
instead.UseHazelcastInstance.getMap(String)
instead.UseHazelcastInstance.getName()
instead.UseHazelcastInstance.getReliableTopic(String)
instead.UseHazelcastInstance.getReplicatedMap(String)
instead.UseHazelcastInstance.getSql()
instead.UseHazelcastInstance.shutdown()
instead.UseFileSources.files(java.lang.String)
. Will be removed in Jet 5.0.UseFileSources.files(java.lang.String)
. Will be removed in Jet 5.0.UseFileSources.files(java.lang.String)
. Will be removed in Jet 5.0.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.This is a leftover from an earlier development cycle of the Pipeline API. UseGroupAggregateBuilder1.build(AggregateOperation)
instead and add a separate mapping stage withmapToOutputFn
.Jet performs this transformation on the server-side.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.Jet now has first-class support for data rebalancing, seeGeneralStage.rebalance()
andGeneralStage.rebalance(FunctionEx)
.the method is unuseduseCapacity.parse(String)
instead.useCapacity.parse(String, MemoryUnit)
insteadfor the sake of better naming. UseObjectDataInput.readString()
insteadfor the sake of better naming. UseObjectDataInput.readStringArray()
insteadfor the sake of better naming. UseObjectDataOutput.writeString(String)
insteadfor the sake of better naming. UseObjectDataOutput.writeStringArray(String[])
insteadfor the sake of better naming. UseClassDefinitionBuilder.addStringArrayField(String)
instead.for the sake of better naming. UseClassDefinitionBuilder.addStringField(String)
instead.for the sake of better naming. UsePortableReader.readString(String)
insteadfor the sake of better naming. UsePortableReader.readStringArray(String)
insteadfor the sake of better naming. UsePortableWriter.writeString(String, String)
instead.for the sake of better naming. UsePortableWriter.writeStringArray(String, String[])
instead.- use the above method that takes allMember arguments Returns a custom implementation of aPartitionGroupStrategy
to override default behavior of zone aware backup strategiesPartitionGroupMetaData
or to provide a specific behavior in case the discovery environment does not provide information about the infrastructure to be used for automatic configuration.this method name is too ambiguous and does not convey its functionality well (it deserializes the value) - so it is being replaced byMergingValue.getDeserializedValue()
.this method always returns0
for DML statements and should not be used.
-
Deprecated ConstructorsConstructorDescriptionexists only for DOM processing.Use
RuntimeContext()
andRuntimeContext.addStatefulSetInfo(String, StatefulSetInfo, String)
instead. This constructor is provided for backward compatibility only.Creates a
RuntimeContext(int, int, int, java.lang.String)
that can model a single StatefulSet. The createdRuntimeContext(int, int, int, java.lang.String)
is thread-safe. The view of state returned by this constructor supports the following API:RuntimeContext.getCurrentReplicas()
RuntimeContext.getReadyReplicas()
RuntimeContext.getSpecifiedReplicaCount()
RuntimeContext.getResourceVersion()
RuntimeContext.toString()
All other method invocations will throw
UnsupportedOperationException
.
-
Deprecated Enum ConstantsEnum ConstantDescriptionPlease use
RestEndpointGroup.PERSISTENCE
instead. If this deprecated endpoint group is tried to be activated, we apply this change as it's made to RestEndpointGroup#PERSISTENCE.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.