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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • 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 UserCodeNamespacesConfig
    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.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.
  • Deprecated Interfaces
    Interface
    Description
    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 UserCodeNamespacesConfig
    com.hazelcast.config.SymmetricEncryptionConfig
    since 4.2
    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.
  • Deprecated Fields
    Field
    Description
    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 { #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.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.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.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 {#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 or to provide a specific behavior in case the discovery environment does not provide information about the infrastructure to be used for automatic configuration.
  • Deprecated Enum Constants
    Enum Constant
    Description
    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.