Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Packages
  • Interfaces
  • Classes
  • Enum Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    com.hazelcast.client.config.ClientUserCodeDeploymentConfig
    since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
    com.hazelcast.config.AdvancedNetworkConfig.setRestEndpointConfig(RestServerEndpointConfig)
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.NetworkConfig.getRestApiConfig()
    since 5.5, use Config.getRestConfig() instead. Will be removed at 6.0.
    com.hazelcast.config.RestApiConfig
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.RestEndpointGroup
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.RestServerEndpointConfig
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.SerializationConfig.addClassDefinition(ClassDefinition)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.addPortableFactory(int, PortableFactory)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.addPortableFactoryClass(int, Class<? extends PortableFactory>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.addPortableFactoryClass(int, String)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getClassDefinitions()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getPortableFactories()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getPortableFactoryClasses()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getPortableVersion()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setClassDefinitions(Set<ClassDefinition>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setPortableFactories(Map<Integer, PortableFactory>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setPortableFactoryClasses(Map<Integer, String>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setPortableVersion(int)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.UserCodeDeploymentConfig
    since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
    com.hazelcast.nio.serialization.ClassDefinition
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.ClassDefinitionBuilder
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldKind.ARRAY_OF_PORTABLE
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldKind.PORTABLE
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldType.PORTABLE
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldType.PORTABLE_ARRAY
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.Portable
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableFactory
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableId
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableReader
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableWriter
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.VersionedPortable
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.security.permission.UserCodeDeploymentPermission
    since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
  • Deprecated Packages
    Package
    Description
    com.hazelcast.hotrestart
    since 5.0 Please use com.hazelcast.persistence for the replacement.
  • Deprecated Interfaces
    Interface
    Description
    com.hazelcast.hotrestart.HotRestartService
    since 5.0 because of renaming purposes. Please use PersistenceService instead.
    com.hazelcast.jet.JetCacheManager
    since 5.0 Use ICacheManager instead.
    com.hazelcast.jet.JetInstance
    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 encapsulates HazelcastInstance. Please use JetService instead.
    com.hazelcast.nio.serialization.ClassDefinition
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.Portable
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableFactory
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableReader
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableWriter
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.VersionedPortable
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
  • Deprecated Classes
    Class
    Description
    com.hazelcast.client.config.ClientUserCodeDeploymentConfig
    since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
    com.hazelcast.config.HotRestartConfig
    since 5.0 use DataPersistenceConfig
    com.hazelcast.config.HotRestartPersistenceConfig
    since 5.0 use PersistenceConfig
    com.hazelcast.config.RestApiConfig
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.RestServerEndpointConfig
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.SymmetricEncryptionConfig
    since 4.2
    com.hazelcast.config.UserCodeDeploymentConfig
    since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
    com.hazelcast.jet.config.InstanceConfig
    since 5.0, use JetConfig instead.
    com.hazelcast.jet.Jet
    After 5.0 Jet was merged into core Hazelcast product. Use the Hazelcast class as the entry point.
    com.hazelcast.memory.MemorySize
    Since 5.1, Capacity should be used instead.
    com.hazelcast.nio.serialization.ClassDefinitionBuilder
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.PortableId
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.security.permission.UserCodeDeploymentPermission
    since 5.4, "User Code Deployment" is replaced by the "User Code Namespaces" feature
  • Deprecated Enum Classes
    Enum Class
    Description
    com.hazelcast.config.HotRestartClusterDataRecoveryPolicy
    since 5.0 use PersistenceClusterDataRecoveryPolicy
    com.hazelcast.config.RestEndpointGroup
    since 5.5, use RestConfig instead. Will be removed at 6.0.
  • Deprecated Fields
    Field
    Description
    com.hazelcast.cache.HazelcastCachingProvider.SERVER_CACHING_PROVIDER
    com.hazelcast.client.properties.ClientProperty.STATISTICS_ENABLED
    since 4.0. Use ClientProperty.METRICS_ENABLED ("hazelcast.client.metrics.enabled") instead.
    com.hazelcast.client.properties.ClientProperty.STATISTICS_PERIOD_SECONDS
    since 4.0. Use ClientProperty.METRICS_COLLECTION_FREQUENCY ("hazelcast.client.metrics.collection.frequency") instead.
  • Deprecated Methods
    Method
    Description
    com.hazelcast.client.config.ClientNetworkConfig.isSmartRouting()
    since 5.5, this option is superseded by ClusterRoutingConfig.getRoutingMode()
    com.hazelcast.client.config.ClientNetworkConfig.setSmartRouting(boolean)
    since 5.5, this option is superseded by ClusterRoutingConfig.setRoutingMode(RoutingMode)}.
    com.hazelcast.client.LoadBalancer.canGetNextDataMember()
    Since 5.0, the method is unused
    com.hazelcast.client.LoadBalancer.nextDataMember()
    Since 5.0, the method is unused
    com.hazelcast.cluster.Cluster.getHotRestartService()
    since 5.0 Use Cluster.getPersistenceService() instead.

    Supported only for members of the cluster, clients will throw a UnsupportedOperationException.

    com.hazelcast.config.AbstractCacheConfig.setHotRestartConfig(HotRestartConfig)
    since 5.0 use AbstractCacheConfig.setDataPersistenceConfig(DataPersistenceConfig)
    com.hazelcast.config.AdvancedNetworkConfig.setRestEndpointConfig(RestServerEndpointConfig)
    since 5.5, use RestConfig instead. Will be removed at 6.0.
    com.hazelcast.config.CacheSimpleConfig.setHotRestartConfig(HotRestartConfig)
    since 5.0 use CacheSimpleConfig.setDataPersistenceConfig(DataPersistenceConfig)
    com.hazelcast.config.Config.setHotRestartPersistenceConfig(HotRestartPersistenceConfig)
    since 5.0 use Config.setPersistenceConfig(PersistenceConfig)
    com.hazelcast.config.EndpointConfig.getSymmetricEncryptionConfig()
    since 4.2
    com.hazelcast.config.EndpointConfig.setSymmetricEncryptionConfig(SymmetricEncryptionConfig)
    since 4.2
    com.hazelcast.config.MapConfig.setHotRestartConfig(HotRestartConfig)
    since 5.0 use MapConfig.setDataPersistenceConfig(DataPersistenceConfig)
    com.hazelcast.config.MerkleTreeConfig.isEnabled()
    use MerkleTreeConfig.getEnabled() instead.
    com.hazelcast.config.MulticastConfig.isLoopbackModeEnabled()
    Use the MulticastConfig.getLoopbackModeEnabled().
    com.hazelcast.config.NativeMemoryConfig.getPersistentMemoryDirectory()
    Since 4.1 multiple persistent memory directories are supported. Please use PersistentMemoryConfig.getDirectoryConfigs() instead.
    com.hazelcast.config.NativeMemoryConfig.getSize()
    Since 5.2, use NativeMemoryConfig.getCapacity() instead.
    com.hazelcast.config.NativeMemoryConfig.setPersistentMemoryDirectory(String)
    Since 4.1 multiple persistent memory directories are supported. Please use NativeMemoryConfig.setPersistentMemoryConfig(PersistentMemoryConfig) or PersistentMemoryConfig.addDirectoryConfig(PersistentMemoryDirectoryConfig) instead.
    com.hazelcast.config.NativeMemoryConfig.setSize(MemorySize)
    Since 5.2, use NativeMemoryConfig.setCapacity(Capacity) instead.
    com.hazelcast.config.NetworkConfig.getRestApiConfig()
    since 5.5, use Config.getRestConfig() instead. Will be removed at 6.0.
    com.hazelcast.config.NetworkConfig.getSymmetricEncryptionConfig()
    since 4.2
    com.hazelcast.config.NetworkConfig.setSymmetricEncryptionConfig(SymmetricEncryptionConfig)
    since 4.2
    com.hazelcast.config.security.LdapAuthenticationConfig.isParseDn()
    Use LdapAuthenticationConfig.getParseDn()
    com.hazelcast.config.SerializationConfig.addClassDefinition(ClassDefinition)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.addPortableFactory(int, PortableFactory)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.addPortableFactoryClass(int, Class<? extends PortableFactory>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.addPortableFactoryClass(int, String)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getClassDefinitions()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getPortableFactories()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getPortableFactoryClasses()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.getPortableVersion()
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setClassDefinitions(Set<ClassDefinition>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setPortableFactories(Map<Integer, PortableFactory>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setPortableFactoryClasses(Map<Integer, String>)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.config.SerializationConfig.setPortableVersion(int)
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.hotrestart.HotRestartService.isHotBackupEnabled()
    since 5.0 Use PersistenceService.isBackupEnabled() instead.
    com.hazelcast.jet.aggregate.AggregateOperation1.toCollector()
    see AggregateOperations.toCollector(AggregateOperation1)
    com.hazelcast.jet.config.JetConfig.getInstanceConfig()
    The fields from InstanceConfig class were moved to JetConfig class. Get the fields directly from JetConfig.
    com.hazelcast.jet.config.JetConfig.setInstanceConfig(InstanceConfig)
    The fields from InstanceConfig class were moved to JetConfig class. Set the fields directly on JetConfig.
    com.hazelcast.jet.core.ProcessorMetaSupplier.Context.jetInstance()
    Use hazelcastInstance().getJet() instead.
    com.hazelcast.jet.core.test.TestProcessorMetaSupplierContext.jetInstance()
    com.hazelcast.jet.Jet.bootstrappedInstance()
    since 5.0 Please use Hazelcast.bootstrappedInstance() and then get JetService from the created HazelcastInstance by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.Jet.newJetClient()
    since 5.0 Use HazelcastClient.newHazelcastClient() and then get JetService from the created HazelcastInstance client by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.Jet.newJetClient(ClientConfig)
    since 5.0 Use HazelcastClient.newHazelcastClient(ClientConfig) and then get JetService from the created HazelcastInstance client by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.Jet.newJetFailoverClient()
    since 5.0 Use HazelcastClient.newHazelcastFailoverClient() and then get JetService from the created HazelcastInstance client by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.Jet.newJetFailoverClient(ClientFailoverConfig)
    since 5.0 Use HazelcastClient.newHazelcastFailoverClient(ClientFailoverConfig) and then get JetService from the created HazelcastInstance client by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.Jet.newJetInstance()
    since 5.0 Please use Hazelcast.newHazelcastInstance() and then get JetService from the created HazelcastInstance by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.Jet.newJetInstance(JetConfig)
    since 5.0 Use Hazelcast.newHazelcastInstance(Config) and then get JetService from the created HazelcastInstance by using HazelcastInstance.getJet()}.
    com.hazelcast.jet.JetCacheManager.getCache(String)
    since 5.0 Use ICacheManager.getCache(String) instead.
    com.hazelcast.jet.JetInstance.getCacheManager()
    since 5.0 Use HazelcastInstance.getCacheManager() instead.
    com.hazelcast.jet.JetInstance.getCluster()
    since 5.0 Use HazelcastInstance.getCluster() instead.
    com.hazelcast.jet.JetInstance.getHazelcastInstance()
    since 5.0 Because we first access to HazelcastInstance and then JetService from the product's entry point -Hazelcast-, we don't need to this back reference anymore. This class made sense when the entry point was Jet.
    com.hazelcast.jet.JetInstance.getList(String)
    since 5.0 Use HazelcastInstance.getList(String) instead.
    com.hazelcast.jet.JetInstance.getMap(String)
    since 5.0 Use HazelcastInstance.getMap(String) instead.
    com.hazelcast.jet.JetInstance.getName()
    since 5.0 Use HazelcastInstance.getName() instead.
    com.hazelcast.jet.JetInstance.getReliableTopic(String)
    since 5.0 Use HazelcastInstance.getReliableTopic(String) instead.
    com.hazelcast.jet.JetInstance.getReplicatedMap(String)
    since 5.0 Use HazelcastInstance.getReplicatedMap(String) instead.
    com.hazelcast.jet.JetInstance.getSql()
    since 5.0 Use HazelcastInstance.getSql() instead.
    com.hazelcast.jet.JetInstance.shutdown()
    since 5.0 Use HazelcastInstance.shutdown() instead.
    com.hazelcast.jet.pipeline.FileSourceBuilder.build()
    Use FileSources.files(java.lang.String). Will be removed in Jet 5.0.
    com.hazelcast.jet.pipeline.FileSourceBuilder.build(BiFunctionEx<String, String, ? extends T>)
    Use FileSources.files(java.lang.String). Will be removed in Jet 5.0.
    com.hazelcast.jet.pipeline.FileSourceBuilder.build(FunctionEx<? super Path, ? extends Stream<T>>)
    Use FileSources.files(java.lang.String). Will be removed in Jet 5.0.
    com.hazelcast.jet.pipeline.GeneralStageWithKey.filterUsingService(ServiceFactory<?, S>, TriPredicate<? super S, ? super K, ? super T>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GeneralStageWithKey.flatMapUsingService(ServiceFactory<?, S>, TriFunction<? super S, ? super K, ? super T, ? extends Traverser<R>>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GeneralStageWithKey.mapUsingService(ServiceFactory<?, S>, TriFunction<? super S, ? super K, ? super T, ? extends R>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GeneralStageWithKey.mapUsingServiceAsync(ServiceFactory<?, S>, int, boolean, TriFunction<? super S, ? super K, ? super T, CompletableFuture<R>>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GeneralStageWithKey.mapUsingServiceAsync(ServiceFactory<?, S>, TriFunction<? super S, ? super K, ? super T, CompletableFuture<R>>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GeneralStageWithKey.mapUsingServiceAsyncBatched(ServiceFactory<?, S>, int, BiFunctionEx<? super S, ? super List<T>, ? extends CompletableFuture<List<R>>>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GeneralStageWithKey.mapUsingServiceAsyncBatched(ServiceFactory<?, S>, int, TriFunction<? super S, ? super List<K>, ? super List<T>, ? extends CompletableFuture<List<R>>>)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.jet.pipeline.GroupAggregateBuilder1.build(AggregateOperation<?, R>, BiFunctionEx<? super K, ? super R, OUT>)
    This is a leftover from an earlier development cycle of the Pipeline API. Use GroupAggregateBuilder1.build(AggregateOperation) instead and add a separate mapping stage with mapToOutputFn.
    com.hazelcast.jet.pipeline.Pipeline.toDag()
    since Jet 4.3, Jet performs this transformation on the server-side.
    com.hazelcast.jet.pipeline.Sources.jmsQueue(SupplierEx<? extends ConnectionFactory>, String)
    see Sources.jmsQueue(String, SupplierEx).
    com.hazelcast.jet.pipeline.Sources.jmsTopic(SupplierEx<? extends ConnectionFactory>, String)
    see Sources.jmsTopic(String, SupplierEx).
    com.hazelcast.jet.python.PythonTransforms.mapUsingPython(FunctionEx<? super String, ? extends K>, PythonServiceConfig)
    Jet now has first-class support for data rebalancing, see GeneralStage.rebalance() and GeneralStage.rebalance(FunctionEx).
    com.hazelcast.logging.ILogger.log(LogEvent)
    Since 5.1, the method is unused
    com.hazelcast.memory.MemorySize.parse(String)
    since 5.1, use Capacity.parse(String) instead.
    com.hazelcast.memory.MemorySize.parse(String, MemoryUnit)
    since 5.1, use Capacity.parse(String, MemoryUnit) instead
    com.hazelcast.nio.ObjectDataInput.readUTF()
    for the sake of better naming. Use ObjectDataInput.readString() instead
    com.hazelcast.nio.ObjectDataInput.readUTFArray()
    for the sake of better naming. Use ObjectDataInput.readStringArray() instead
    com.hazelcast.nio.ObjectDataOutput.writeUTF(String)
    for the sake of better naming. Use ObjectDataOutput.writeString(String) instead
    com.hazelcast.nio.ObjectDataOutput.writeUTFArray(String[])
    for the sake of better naming. Use ObjectDataOutput.writeStringArray(String[]) instead
    com.hazelcast.nio.serialization.ClassDefinitionBuilder.addUTFArrayField(String)
    for the sake of better naming. Use ClassDefinitionBuilder.addStringArrayField(String) instead.
    com.hazelcast.nio.serialization.ClassDefinitionBuilder.addUTFField(String)
    for the sake of better naming. Use ClassDefinitionBuilder.addStringField(String) instead.
    com.hazelcast.nio.serialization.PortableReader.readUTF(String)
    for the sake of better naming. Use PortableReader.readString(String) instead
    com.hazelcast.nio.serialization.PortableReader.readUTFArray(String)
    for the sake of better naming. Use PortableReader.readStringArray(String) instead
    com.hazelcast.nio.serialization.PortableWriter.writeUTF(String, String)
    for the sake of better naming. Use PortableWriter.writeString(String, String) instead.
    com.hazelcast.nio.serialization.PortableWriter.writeUTFArray(String, String[])
    for the sake of better naming. Use PortableWriter.writeStringArray(String, String[]) instead.
    com.hazelcast.spi.discovery.DiscoveryStrategy.getPartitionGroupStrategy()
    - use the above method that takes allMember arguments Returns a custom implementation of a PartitionGroupStrategy to override default behavior of zone aware backup strategies PartitionGroupMetaData or to provide a specific behavior in case the discovery environment does not provide information about the infrastructure to be used for automatic configuration.
    com.hazelcast.spi.merge.MergingValue.getValue()
    since 5.4 - this method name is too ambiguous and does not convey its functionality well (it deserializes the value) - so it is being replaced by MergingValue.getDeserializedValue().
  • Deprecated Constructors
    Constructor
    Description
    com.hazelcast.config.cp.CPMapConfig()
    exists only for DOM processing.
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.hazelcast.config.RestEndpointGroup.HOT_RESTART
    since 5.0 Please 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.
    com.hazelcast.nio.serialization.FieldKind.ARRAY_OF_CHAR
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldKind.ARRAY_OF_PORTABLE
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldKind.CHAR
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldKind.PORTABLE
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldType.PORTABLE
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
    com.hazelcast.nio.serialization.FieldType.PORTABLE_ARRAY
    Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.

Copyright © 2024 Hazelcast, Inc.. All rights reserved.