# Deprecated API

## Contents

- Deprecated Packages
- Deprecated Interfaces
- Deprecated Classes
- Deprecated Enums
- Deprecated Exceptions
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors
- Deprecated Enum Constants

- Deprecated Packages
  Package and Description
  com.hazelcast.mapreduce MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.aggregation Use fast-aggregations `com.hazelcast.aggregation`

- Deprecated Interfaces
  Interface and Description
  com.hazelcast.mapreduce.aggregation.Aggregation Use new fast-aggregations `IMap.aggregate(Aggregator)` or `IMap.aggregate(Aggregator, Predicate)`.
  com.hazelcast.core.AsyncAtomicLong
  com.hazelcast.core.AsyncAtomicReference
  com.hazelcast.mapreduce.Collator MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.CombinerFactory MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.Context MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.core.IdGenerator The implementation can produce duplicate IDs in case of network split, even with split-brain protection enabled (during short window while split-brain is detected). Use `HazelcastInstance.getFlakeIdGenerator(String)` for an alternative implementation which does not suffer from this problem.
  com.hazelcast.mapreduce.Job MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.JobCompletableFuture MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.JobPartitionState MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.JobProcessInformation MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.JobTracker MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.cluster.Joiner
  com.hazelcast.mapreduce.KeyPredicate MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.LifecycleMapper MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.Mapper MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.MappingJob MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.PartitionIdAware MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.aggregation.PropertyExtractor Use fast-aggregations `Aggregator`
  com.hazelcast.mapreduce.ReducerFactory MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.ReducingJob MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.ReducingSubmittableJob MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.spi.SharedService since 3.7. A service can be retrieved using `NodeEngine.getService(String)`
  com.hazelcast.mapreduce.TrackableJob MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.

- Deprecated Classes
  Class and Description
  com.hazelcast.mapreduce.aggregation.Aggregations Use fast-aggregations `Aggregators`
  com.hazelcast.config.CacheConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.CacheEvictionConfig Use `EvictionConfig` instead of this
  com.hazelcast.config.CacheEvictionConfigReadOnly Use `EvictionConfigReadOnly` instead of this
  com.hazelcast.config.CachePartitionLostListenerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.CacheSimpleConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.CacheSimpleEntryListenerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.mapreduce.Combiner MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.spi.DefaultObjectNamespace please use `DistributedObjectNamespace`
  com.hazelcast.config.DiscoveryConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.EntryListenerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.EvictionConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.ExecutorConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.FlakeIdGeneratorConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.ItemListenerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.JobTrackerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.mapreduce.KeyValueSource MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.config.matcher.LegacyMatchingPointConfigPatternMatcher
  com.hazelcast.config.matcher.LegacyWildcardConfigPatternMatcher
  com.hazelcast.mapreduce.LifecycleMapperAdapter MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.config.ListConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.ListenerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MapAttributeConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MapConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MapIndexConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MapPartitionLostListenerConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MapStoreConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MaxSizeConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MemberAttributeConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.MultiMapConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.NearCacheConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.PartitioningStrategyConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.QueueConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.QueueStoreConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.mapreduce.Reducer MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.config.SemaphoreConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.config.SetConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.mapreduce.aggregation.Supplier Use fast-aggregations `Aggregator`
  com.hazelcast.config.TopicConfigReadOnly this class will be removed in 4.0; it is meant for internal usage only.
  com.hazelcast.nio.UnsafeHelper Use `MemoryAccessor` instead due to following reasons: Deprecated to `MemoryAccessor` due to following reasons: Preventing hard-dependency to `Unsafe`/ Some platforms (such as SPARC) don't support unaligned memory access. So on these platforms memory access alignments must be checked and handled if possible.
  com.hazelcast.config.WanReplicationRefReadOnly this class will be removed in 4.0; it is meant for internal usage only.

- Deprecated Enums
  Enum and Description
  com.hazelcast.mapreduce.TopologyChangedStrategy MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.

- Deprecated Exceptions
  Exceptions and Description
  com.hazelcast.mapreduce.RemoteMapReduceException MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.mapreduce.TopologyChangedException MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.

- Deprecated Fields
  Field and Description
  com.hazelcast.config.NearCacheConfig.DEFAULT_EVICTION_POLICY since 3.8, please use `EvictionConfig.DEFAULT_EVICTION_POLICY`
  com.hazelcast.config.NearCacheConfig.DEFAULT_MAX_SIZE since 3.8, please use `EvictionConfig.DEFAULT_MAX_ENTRY_COUNT_FOR_ON_HEAP_MAP`
  com.hazelcast.com.eclipsesource.json.JsonValue.FALSE Use `Json.FALSE` instead
  com.hazelcast.spi.properties.GroupProperty.ICMP_ECHO_FAIL_FAST as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.ICMP_ENABLED as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.ICMP_INTERVAL as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.ICMP_MAX_ATTEMPTS as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.ICMP_PARALLEL_MODE as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.ICMP_TIMEOUT as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.ICMP_TTL as of 3.10 this can be configured through `IcmpFailureDetectorConfig` This will be removed in future versions. Until this is done, if the `IcmpFailureDetectorConfig` is null we will still fall back to this
  com.hazelcast.spi.properties.GroupProperty.MASTER_CONFIRMATION_INTERVAL_SECONDS since 3.10
  com.hazelcast.spi.properties.GroupProperty.MAX_NO_MASTER_CONFIRMATION_SECONDS since 3.10
  com.hazelcast.spi.properties.GroupProperty.MC_MAX_VISIBLE_INSTANCE_COUNT as of 3.10 This will be removed in future versions.
  com.hazelcast.com.eclipsesource.json.JsonValue.NULL Use `Json.NULL` instead
  com.hazelcast.spi.properties.GroupProperty.SLOW_INVOCATION_DETECTOR_THRESHOLD_MILLIS
  com.hazelcast.com.eclipsesource.json.JsonValue.TRUE Use `Json.TRUE` instead
  com.hazelcast.nio.UnsafeHelper.UNSAFE `GlobalMemoryAccessorRegistry.MEM` instead
  com.hazelcast.nio.UnsafeHelper.UNSAFE_AVAILABLE `GlobalMemoryAccessorRegistry.MEM_AVAILABLE` instead
  com.hazelcast.spi.properties.GroupProperty.VERSION_CHECK_ENABLED

- Deprecated Methods
  Method and Description
  com.hazelcast.client.config.ClientConfig.addAddress(String...)
  com.hazelcast.core.IMap.addEntryListener(EntryListener, boolean) please use `IMap.addEntryListener(MapListener, boolean)` instead
  com.hazelcast.core.IMap.addEntryListener(EntryListener, K, boolean) please use `IMap.addEntryListener(MapListener, Object, boolean)` instead
  com.hazelcast.core.IMap.addEntryListener(EntryListener, Predicate<K, V>, boolean) please use `IMap.addEntryListener(MapListener, com.hazelcast.query.Predicate, boolean)` instead
  com.hazelcast.core.IMap.addEntryListener(EntryListener, Predicate<K, V>, K, boolean) please use `IMap.addEntryListener(MapListener, com.hazelcast.query.Predicate, Object, boolean)` instead
  com.hazelcast.core.IMap.addLocalEntryListener(EntryListener) please use `IMap.addLocalEntryListener(MapListener)` instead
  com.hazelcast.core.IMap.addLocalEntryListener(EntryListener, Predicate<K, V>, boolean) please use `IMap.addLocalEntryListener(MapListener, com.hazelcast.query.Predicate, boolean)` instead
  com.hazelcast.core.IMap.addLocalEntryListener(EntryListener, Predicate<K, V>, K, boolean) please use `IMap.addLocalEntryListener(MapListener, com.hazelcast.query.Predicate, Object, boolean)` instead
  com.hazelcast.client.config.ClientConfig.addNearCacheConfig(String, NearCacheConfig)
  com.hazelcast.core.MultiMap.aggregate(Supplier<K, V, SuppliedValue>, Aggregation<K, SuppliedValue, Result>) The old Aggregations API is superseded by Fast Aggregations (`com.hazelcast.aggregation`) which does not yet support MultiMap. Hazelcast Jet can be used in the future to replace this functionality.
  com.hazelcast.core.IMap.aggregate(Supplier<K, V, SuppliedValue>, Aggregation<K, SuppliedValue, Result>) please use fast-aggregations `IMap.aggregate(Aggregator)` or `IMap.aggregate(Aggregator, Predicate)` instead
  com.hazelcast.core.MultiMap.aggregate(Supplier<K, V, SuppliedValue>, Aggregation<K, SuppliedValue, Result>, JobTracker) The old Aggregations API is superseded by Fast Aggregations (`com.hazelcast.aggregation`) which does not yet support MultiMap. Hazelcast Jet can be used in the future to replace this functionality.
  com.hazelcast.core.IMap.aggregate(Supplier<K, V, SuppliedValue>, Aggregation<K, SuppliedValue, Result>, JobTracker) please use fast-aggregations `IMap.aggregate(Aggregator)` or `IMap.aggregate(Aggregator, Predicate)` instead
  com.hazelcast.config.MemberAttributeConfig.asReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.core.AsyncAtomicReference.asyncSetAndGet(E) will be removed from Hazelcast 3.4 since it doesn't really serve a purpose.
  com.hazelcast.client.config.ClientConfig.getAddresses()
  com.hazelcast.config.WanReplicationRef.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.TopicConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.SetConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.SemaphoreConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.RingbufferStoreConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.RingbufferConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ReplicatedMapConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ReliableTopicConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.QueueStoreConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.QueueConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.QueryCacheConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.PredicateConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.PartitioningStrategyConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.NearCacheConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MultiMapConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MergePolicyConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MaxSizeConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MapStoreConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MapPartitionLostListenerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MapIndexConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MapConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.MapAttributeConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.LockConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ListenerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ListConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.JobTrackerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ItemListenerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.FlakeIdGeneratorConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ExecutorConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.EvictionConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.EntryListenerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.DiscoveryConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.CountDownLatchConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.CacheSimpleEntryListenerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.CacheSimpleConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.CachePartitionLostListenerConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.CacheEvictionConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.CacheConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.AtomicReferenceConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.AtomicLongConfig.getAsReadOnly() this method will be removed in 4.0; it is meant for internal usage only
  com.hazelcast.config.ReplicatedMapConfig.getConcurrencyLevel() new implementation doesn't use mutexes
  com.hazelcast.client.config.ClientConfig.getConnectionAttemptLimit()
  com.hazelcast.client.config.ClientConfig.getConnectionAttemptPeriod()
  com.hazelcast.client.config.ClientConfig.getConnectionTimeout()
  com.hazelcast.config.MapConfig.getEvictionPercentage() As of version 3.7, eviction mechanism changed. It uses a probabilistic algorithm based on sampling. Please see documentation for further details.
  com.hazelcast.config.NearCacheConfig.getEvictionPolicy() since 3.8, please use `NearCacheConfig.getEvictionConfig()` and `EvictionConfig.getEvictionPolicy()`
  com.hazelcast.config.EvictionConfig.getEvictionPolicyType() since 3.9, please use `EvictionConfig.getEvictionPolicy()`
  com.hazelcast.client.spi.ClientProxy.getId()
  com.hazelcast.core.HazelcastInstance.getIdGenerator(String) The implementation can produce duplicate IDs in case of network split, even with split-brain protection enabled (during short window while split-brain is detected). Use `HazelcastInstance.getFlakeIdGenerator(String)` for an alternative implementation which does not suffer from this problem.
  com.hazelcast.config.LoginModuleConfig.getImplementation()
  com.hazelcast.core.Member.getInetSocketAddress() use `Member.getSocketAddress()` instead
  com.hazelcast.core.HazelcastInstance.getJobTracker(String) MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.
  com.hazelcast.core.ILock.getKey() use `DistributedObject.getName()` instead.
  com.hazelcast.client.proxy.ClientLockProxy.getKey()
  com.hazelcast.concurrent.lock.LockProxy.getKey()
  com.hazelcast.config.NearCacheConfig.getMaxSize() since 3.8, please use `NearCacheConfig.getEvictionConfig()` and `EvictionConfig.getSize()`
  com.hazelcast.config.CacheEvictionConfig.getMaxSizePolicy() Use `EvictionConfig.getMaximumSizePolicy()` instead of this
  com.hazelcast.config.ReplicatedMapConfig.getMergePolicy() since 3.10, please use `ReplicatedMapConfig.getMergePolicyConfig()` and `MergePolicyConfig.getPolicy()`
  com.hazelcast.config.MapConfig.getMergePolicy() since 3.10, please use `MapConfig.getMergePolicyConfig()` and `MergePolicyConfig.getPolicy()`
  com.hazelcast.config.MapConfig.getMinEvictionCheckMillis() As of version 3.7, eviction mechanism changed. It uses a probabilistic algorithm based on sampling. Please see documentation for further details.
  com.hazelcast.core.DistributedObjectEvent.getObjectId() since 3.5. Please use `DistributedObjectEvent.getObjectName()` instead.
  com.hazelcast.config.ReplicatedMapConfig.getReplicationDelayMillis() since new implementation will route puts to the partition owner nodes, caching won't help replication speed because most of the time subsequent puts will end up in different nodes
  com.hazelcast.monitor.LocalReplicatedMapStats.getReplicationEventCount() replication is no more handled by event system.
  com.hazelcast.config.ReplicatedMapConfig.getReplicatorExecutorService() new implementation doesn't use executor service for replication
  com.hazelcast.config.ServiceConfig.getServiceImpl() use `ServiceConfig.getImplementation()` instead
  com.hazelcast.spi.NodeEngine.getSharedService(String) since 3.7, please use `NodeEngine.getService(String)` instead
  com.hazelcast.client.config.ClientConfig.getSocketInterceptorConfig()
  com.hazelcast.client.config.ClientConfig.getSocketOptions()
  com.hazelcast.config.MultiMapConfig.getSyncBackupCount()
  com.hazelcast.transaction.TransactionContext.getXaResource() since 3.5 please use HazelcastInstance.getXAResource()
  com.hazelcast.flakeidgen.FlakeIdGenerator.init(long)
  com.hazelcast.spi.NodeEngine.isActive()
  com.hazelcast.config.MapConfig.isOptimizeQueries() use `MapConfig.getQueryCacheConfigs()` instead
  com.hazelcast.client.config.ClientConfig.isRedoOperation()
  com.hazelcast.client.config.ClientConfig.isSmartRouting()
  com.hazelcast.core.PartitionService.randomPartitionKey()
  com.hazelcast.com.eclipsesource.json.JsonValue.readFrom(Reader) Use `Json.parse(Reader)` instead
  com.hazelcast.com.eclipsesource.json.JsonObject.readFrom(Reader) Use `Json.parse(Reader)``.asObject()` instead
  com.hazelcast.com.eclipsesource.json.JsonArray.readFrom(Reader) Use `Json.parse(Reader)``.asArray()` instead
  com.hazelcast.com.eclipsesource.json.JsonValue.readFrom(String) Use `Json.parse(String)` instead
  com.hazelcast.com.eclipsesource.json.JsonObject.readFrom(String) Use `Json.parse(String)``.asObject()` instead
  com.hazelcast.com.eclipsesource.json.JsonArray.readFrom(String) Use `Json.parse(String)``.asArray()` instead
  com.hazelcast.client.config.ClientConfig.setAddresses(List<String>)
  com.hazelcast.core.IAtomicReference.setAndGet(E) will be removed from Hazelcast 3.4 since it doesn't really serve a purpose.
  com.hazelcast.config.ReplicatedMapConfig.setConcurrencyLevel(int) new implementation doesn't use mutexes
  com.hazelcast.client.config.ClientConfig.setConnectionAttemptLimit(int)
  com.hazelcast.client.config.ClientConfig.setConnectionAttemptPeriod(int)
  com.hazelcast.client.config.ClientConfig.setConnectionTimeout(int)
  com.hazelcast.config.MapConfig.setEvictionPercentage(int) As of version 3.7, eviction mechanism changed. It uses a probabilistic algorithm based on sampling. Please see documentation for further details
  com.hazelcast.config.NearCacheConfig.setEvictionPolicy(String) since 3.8, please use `NearCacheConfig.getEvictionConfig()` and `EvictionConfig.setEvictionPolicy(EvictionPolicy)`
  com.hazelcast.config.LoginModuleConfig.setImplementation(Object)
  com.hazelcast.client.config.ClientConfig.setLicenseKey(String) As of Hazelcast 3.10.3, enterprise license keys are required only for members, and not for clients
  com.hazelcast.config.NearCacheConfig.setMaxSize(int) since 3.8, please use `NearCacheConfig.setEvictionConfig(EvictionConfig)` and `EvictionConfig.setSize(int)`
  com.hazelcast.config.CacheEvictionConfig.setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy) Use `EvictionConfig.setMaximumSizePolicy(MaxSizePolicy)` instead of this
  com.hazelcast.config.ReplicatedMapConfig.setMergePolicy(String) since 3.10, please use `ReplicatedMapConfig.setMergePolicyConfig(MergePolicyConfig)`
  com.hazelcast.config.MapConfig.setMergePolicy(String) since 3.10, please use `MapConfig.setMergePolicyConfig(MergePolicyConfig)`
  com.hazelcast.config.MapConfig.setMinEvictionCheckMillis(long) As of version 3.7, eviction mechanism changed. It uses a probabilistic algorithm based on sampling. Please see documentation for further details.
  com.hazelcast.config.MapConfig.setOptimizeQueries(boolean) use `MapConfig.setCacheDeserializedValues(CacheDeserializedValues)` instead
  com.hazelcast.config.PartitioningStrategyConfig.setPartitionStrategy(PartitioningStrategy)
  com.hazelcast.client.config.ClientConfig.setRedoOperation(boolean)
  com.hazelcast.config.ReplicatedMapConfig.setReplicationDelayMillis(long) since new implementation will route puts to the partition owner nodes, caching won't help replication speed because most of the time subsequent puts will end up in different nodes
  com.hazelcast.config.ReplicatedMapConfig.setReplicatorExecutorService(ScheduledExecutorService) new implementation doesn't use executor service for replication
  com.hazelcast.config.ServiceConfig.setServiceImpl(Object) use `ServiceConfig.setImplementation(Object)` instead
  com.hazelcast.client.config.ClientConfig.setSmartRouting(boolean)
  com.hazelcast.client.config.ClientConfig.setSocketInterceptorConfig(SocketInterceptorConfig)
  com.hazelcast.client.config.ClientConfig.setSocketOptions(SocketOptions)
  com.hazelcast.config.MultiMapConfig.setSyncBackupCount(int)
  com.hazelcast.com.eclipsesource.json.JsonValue.valueOf(boolean) Use `Json.value()` instead
  com.hazelcast.com.eclipsesource.json.JsonValue.valueOf(double) Use `Json.value()` instead
  com.hazelcast.com.eclipsesource.json.JsonValue.valueOf(float) Use `Json.value()` instead
  com.hazelcast.com.eclipsesource.json.JsonValue.valueOf(int) Use `Json.value()` instead
  com.hazelcast.com.eclipsesource.json.JsonValue.valueOf(long) Use `Json.value()` instead
  com.hazelcast.com.eclipsesource.json.JsonValue.valueOf(String) Use `Json.value()` instead

- Deprecated Constructors
  Constructor and Description
  com.hazelcast.client.spi.ClientProxy(String, String) since 3.9, please use `ClientProxy.ClientProxy(String, String, ClientContext)`
  com.hazelcast.config.NearCacheConfig(int, int, String, int, boolean, InMemoryFormat) since 3.8, please use `NearCacheConfig.NearCacheConfig(int, int, boolean, InMemoryFormat)`
  com.hazelcast.config.NearCacheConfig(int, int, String, int, boolean, InMemoryFormat, EvictionConfig) since 3.8, please use `NearCacheConfig.NearCacheConfig(int, int, boolean, InMemoryFormat, EvictionConfig)`

- Deprecated Enum Constants
  Enum Constant and Description
  com.hazelcast.config.NearCacheConfig.LocalUpdatePolicy.CACHE since 3.8, please use `NearCacheConfig.LocalUpdatePolicy.CACHE_ON_UPDATE`
  com.hazelcast.transaction.TransactionOptions.TransactionType.LOCAL since 3.6 use ONE_PHASE

Copyright © 2018. All rights reserved.