# Deprecated API

## Contents

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

- 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.
  picocli.CommandLine.IExceptionHandler Use `CommandLine.IExceptionHandler2` instead.
  picocli.CommandLine.IParseResultHandler Use `CommandLine.IParseResultHandler2` instead.
  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.core.ILock Please use `FencedLock` instead. This interface will be removed in Hazelcast 4.0.
  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.client.config.ClientAwsConfig Use `AwsConfig` instead.
  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.com.fasterxml.jackson.core.filter.FilteringParserDelegate._includeImmediateParent
  com.hazelcast.com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate._includeImmediateParent
  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.spi.properties.GroupProperty.HTTP_HEALTHCHECK_ENABLED Enable or disable the `RestEndpointGroup.HEALTH_CHECK` group in `RestApiConfig` 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_URL_CHANGE_ENABLED Enable or disable the `RestEndpointGroup.CLUSTER_WRITE` group in `RestApiConfig` instead.
  com.hazelcast.spi.properties.GroupProperty.MEMCACHE_ENABLED Use `MemcacheProtocolConfig` instead.
  com.hazelcast.spi.properties.GroupProperty.REST_ENABLED Use `RestEndpointGroups` in `RestApiConfig` instead.
  com.hazelcast.spi.properties.GroupProperty.SLOW_INVOCATION_DETECTOR_THRESHOLD_MILLIS
  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.com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF(String) Since 2.8 use `ParserMinimalBase._reportInvalidEOF(String, JsonToken)` instead
  com.hazelcast.com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOFInValue() Since 2.8 use `ParserMinimalBase._reportInvalidEOF(String, JsonToken)` instead
  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)
  picocli.CommandLine.Help.addSubcommand(String, Object)
  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
  picocli.CommandLine.Help.Ansi.Text.append(CommandLine.Help.Ansi.Text) use `#concat(Text)` instead
  picocli.CommandLine.Help.Ansi.Text.append(String) use `CommandLine.Help.Ansi.Text.concat(String)` 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.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`.
  picocli.CommandLine.Help.TextTable.cellAt(int, int) use `CommandLine.Help.TextTable.textAt(int, int)` instead
  com.hazelcast.com.fasterxml.jackson.core.util.JsonParserSequence.createFlattened(JsonParser, JsonParser) Since 2.8 use `JsonParserSequence.createFlattened(boolean, JsonParser, JsonParser)` instead
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(OutputStream) Since 2.2, use `JsonFactory.createGenerator(OutputStream)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(OutputStream, JsonEncoding) Since 2.2, use `JsonFactory.createGenerator(OutputStream, JsonEncoding)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonGenerator(Writer) Since 2.2, use `JsonFactory.createGenerator(Writer)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(byte[]) Since 2.2, use `JsonFactory.createParser(byte[])` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(byte[], int, int) Since 2.2, use `JsonFactory.createParser(byte[],int,int)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(File) Since 2.2, use `JsonFactory.createParser(File)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(InputStream) Since 2.2, use `JsonFactory.createParser(InputStream)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(Reader) Since 2.2, use `JsonFactory.createParser(Reader)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(String) Since 2.2, use `JsonFactory.createParser(String)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonFactory.createJsonParser(URL) Since 2.2, use `JsonFactory.createParser(URL)` instead.
  com.hazelcast.com.fasterxml.jackson.core.json.JsonWriteContext.createRootContext() Since 2.3; use method that takes argument
  picocli.CommandLine.Range.defaultArity(Class<?>) use `CommandLine.Range.defaultArity(Field)` instead
  picocli.CommandLine.Help.detailedSynopsis(Comparator<CommandLine.Model.OptionSpec>, boolean) use `CommandLine.Help.detailedSynopsis(int, Comparator, boolean)` instead.
  com.hazelcast.config.AwsConfig.getAccessKey() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  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.core.HazelcastInstance.getAtomicLong(String) This implementation may lose strong consistency in case of network failures or server failures. Please use `CPSubsystem.getAtomicLong(String)` instead. This method will be removed in Hazelcast 4.0.
  com.hazelcast.core.HazelcastInstance.getAtomicReference(String) This implementation may lose strong consistency in case of network failures or server failures. Please use `CPSubsystem.getAtomicReference(String)` instead. This method will be removed in Hazelcast 4.0.
  com.hazelcast.instance.AddressPicker.getBindAddress() use `getBindAddress(EndpointQualifier.MEMBER` instead
  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.AwsConfig.getConnectionTimeoutSeconds() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.core.HazelcastInstance.getCountDownLatch(String) This implementation may lose strong consistency in case of network failures or server failures. Please use `CPSubsystem.getCountDownLatch(String)` instead. This method will be removed in Hazelcast 4.0.
  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.config.AwsConfig.getHostHeader() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.config.AwsConfig.getHzPort() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.config.AwsConfig.getIamRole() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  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.com.fasterxml.jackson.core.io.JsonStringEncoder.getInstance() Since 2.9.2 use `BufferRecyclers.getJsonStringEncoder()` 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.com.fasterxml.jackson.core.ObjectCodec.getJsonFactory() Since 2.1: Use `ObjectCodec.getFactory()` instead.
  com.hazelcast.core.ILock.getKey() use `DistributedObject.getName()` instead.
  com.hazelcast.client.proxy.ClientLockProxy.getKey()
  com.hazelcast.concurrent.lock.LockProxy.getKey()
  com.hazelcast.core.HazelcastInstance.getLock(String) This implementation may lose strong consistency in case of network failures or server failures. Please use `CPSubsystem.getLock(String)` instead. This method will be removed in Hazelcast 4.0.
  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.com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getNextChar(String)
  com.hazelcast.core.DistributedObjectEvent.getObjectId() since 3.5. Please use `DistributedObjectEvent.getObjectName()` instead.
  com.hazelcast.com.fasterxml.jackson.core.type.ResolvedType.getParameterSource() Since 2.7: does not have meaning as parameters depend on type resolved.
  com.hazelcast.config.GroupConfig.getPassword() since 3.11, password check is removed. Passwords are only checked in default LoginModule when Hazelcast `security` is enabled (Enterprise edition only).
  com.hazelcast.instance.AddressPicker.getPublicAddress() use `getPublicAddress(EndpointQualifier.MEMBER` instead
  com.hazelcast.config.AwsConfig.getRegion() Use `AliasedDiscoveryConfig.getProperty(String)` 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.AwsConfig.getSecretKey() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.config.AwsConfig.getSecurityGroupName() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.core.HazelcastInstance.getSemaphore(String) This implementation may lose strong consistency in case of network failures or server failures. Please use `CPSubsystem.getSemaphore(String)` instead. This method will be removed in Hazelcast 4.0.
  com.hazelcast.instance.AddressPicker.getServerSocketChannel() use `getServerSocketChannel(EndpointQualifier.MEMBER` instead
  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.core.Member.getSocketAddress() as of Hazelcast 3.12, use `Member.getSocketAddress(EndpointQualifier)`
  com.hazelcast.client.config.ClientConfig.getSocketInterceptorConfig()
  com.hazelcast.client.config.ClientConfig.getSocketOptions()
  com.hazelcast.config.MultiMapConfig.getSyncBackupCount()
  com.hazelcast.config.AwsConfig.getTagKey() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.config.AwsConfig.getTagValue() Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.com.fasterxml.jackson.core.JsonStreamContext.getTypeDesc() Since 2.8 use `JsonStreamContext.typeDesc()` instead
  com.hazelcast.transaction.TransactionContext.getXaResource() since 3.5 please use HazelcastInstance.getXAResource()
  picocli.CommandLine.Model.OptionSpec.help() Use `CommandLine.Model.OptionSpec.usageHelp()` and `CommandLine.Model.OptionSpec.versionHelp()` instead.
  picocli.CommandLine.Model.OptionSpec.Builder.help() Use `CommandLine.Model.OptionSpec.Builder.usageHelp()` and `CommandLine.Model.OptionSpec.Builder.versionHelp()` instead.
  com.hazelcast.flakeidgen.FlakeIdGenerator.init(long)
  com.hazelcast.spi.NodeEngine.isActive()
  com.hazelcast.client.config.ClientAwsConfig.isInsideAws()
  com.hazelcast.config.MapConfig.isOptimizeQueries() use `MapConfig.getQueryCacheConfigs()` instead
  com.hazelcast.client.config.ClientConfig.isRedoOperation()
  com.hazelcast.client.config.ClientConfig.isSmartRouting()
  com.hazelcast.com.fasterxml.jackson.core.Version.isUknownVersion() Since 2.7 use correctly spelled method `Version.isUnknownVersion()`
  com.hazelcast.jet.config.JetConfig.loadFromClasspath(String) see JetConfig.loadFromClasspath(ClassLoader,String)}
  com.hazelcast.jet.config.JetConfig.loadFromClasspath(String, Properties) see JetConfig.loadFromClasspath(ClassLoader, String, Properties)}
  com.hazelcast.jet.config.JetConfig.loadFromStream(InputStream) see JetConfig.loadXmlFromStream(InputStream) and JetConfig.loadYamlFromStream(InputStream)
  com.hazelcast.jet.config.JetConfig.loadFromStream(InputStream, Properties) see JetConfig.loadXmlFromStream(InputStream, Properties) and JetConfig.loadYamlFromStream(InputStream, Properties)
  com.hazelcast.com.fasterxml.jackson.core.base.ParserBase.loadMore()
  com.hazelcast.com.fasterxml.jackson.core.base.ParserBase.loadMoreGuaranteed()
  com.hazelcast.com.fasterxml.jackson.core.util.VersionUtil.mavenVersionFor(ClassLoader, String, String) Since 2.6: functionality not used by any official Jackson component, should be moved out if anyone needs it
  picocli.CommandLine.parseWithHandler(CommandLine.IParseResultHandler, PrintStream, String...) use `CommandLine.parseWithHandler(IParseResultHandler2, String[])` instead
  picocli.CommandLine.parseWithHandlers(CommandLine.IParseResultHandler, PrintStream, CommandLine.Help.Ansi, CommandLine.IExceptionHandler, String...) use `CommandLine.parseWithHandlers(IParseResultHandler2, IExceptionHandler2, String...)` instead
  picocli.CommandLine.printHelpIfRequested(List<CommandLine>, PrintStream, CommandLine.Help.Ansi) use `CommandLine.printHelpIfRequested(List, PrintStream, PrintStream, Help.Ansi)` instead
  com.hazelcast.core.PartitionService.randomPartitionKey()
  com.hazelcast.config.AwsConfig.setAccessKey(String) use `AliasedDiscoveryConfig.setProperty(String, String)` 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.AwsConfig.setConnectionTimeoutSeconds(int) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  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.com.fasterxml.jackson.core.JsonParser.setFeatureMask(int) Since 2.7, use `JsonParser.overrideStdFeatures(int, int)` instead
  com.hazelcast.com.fasterxml.jackson.core.JsonGenerator.setFeatureMask(int) Since 2.7, use `JsonGenerator.overrideStdFeatures(int, int)` instead -- remove from 2.9
  com.hazelcast.com.fasterxml.jackson.core.util.JsonParserDelegate.setFeatureMask(int)
  com.hazelcast.com.fasterxml.jackson.core.util.JsonGeneratorDelegate.setFeatureMask(int)
  com.hazelcast.com.fasterxml.jackson.core.base.ParserBase.setFeatureMask(int)
  com.hazelcast.com.fasterxml.jackson.core.base.GeneratorBase.setFeatureMask(int)
  com.hazelcast.config.AwsConfig.setHostHeader(String) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  com.hazelcast.config.AwsConfig.setIamRole(String) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  com.hazelcast.config.LoginModuleConfig.setImplementation(Object)
  com.hazelcast.client.config.ClientAwsConfig.setInsideAws(boolean)
  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.config.GroupConfig.setPassword(String) since 3.11, password check is removed. Passwords are only checked in default LoginModule when Hazelcast `security` is enabled (Enterprise edition only).
  com.hazelcast.client.config.ClientConfig.setRedoOperation(boolean)
  com.hazelcast.config.AwsConfig.setRegion(String) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  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.AwsConfig.setSecretKey(String) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  com.hazelcast.config.AwsConfig.setSecurityGroupName(String) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  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.config.AwsConfig.setTagKey(String) Use `AliasedDiscoveryConfig.getProperty(String)` instead.
  com.hazelcast.config.AwsConfig.setTagValue(String) use `AliasedDiscoveryConfig.setProperty(String, String)` instead
  picocli.CommandLine.Model.ArgSpec.setValue(T, CommandLine) use `CommandLine.Model.ArgSpec.setValue(Object)` instead. This was a design mistake.
  picocli.CommandLine.Help.synopsis() use `CommandLine.Help.synopsis(int)` instead
  com.hazelcast.jet.aggregate.AggregateOperation1.toCollector() see AggregateOperations.toCollector(AggregateOperation1)
  com.hazelcast.com.fasterxml.jackson.core.util.VersionUtil.version()

- Deprecated Constructors
  Constructor and Description
  com.hazelcast.client.spi.ClientProxy(String, String) since 3.9, please use `ClientProxy.ClientProxy(String, String, ClientContext)`
  picocli.CommandLine.Help(Object, CommandLine.Help.ColorScheme) use `picocli.CommandLine.Help#Help(picocli.CommandLine.Model.CommandSpec, picocli.CommandLine.Help.ColorScheme)`
  com.hazelcast.com.fasterxml.jackson.core.JsonGenerationException(String)
  com.hazelcast.com.fasterxml.jackson.core.JsonGenerationException(String, Throwable)
  com.hazelcast.com.fasterxml.jackson.core.JsonGenerationException(Throwable)
  com.hazelcast.com.fasterxml.jackson.core.JsonParseException(String, JsonLocation)
  com.hazelcast.com.fasterxml.jackson.core.JsonParseException(String, JsonLocation, Throwable)
  com.hazelcast.com.fasterxml.jackson.core.util.JsonParserSequence(JsonParser[])
  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)`
  com.hazelcast.com.fasterxml.jackson.core.Version(int, int, int, String) Use variant that takes group and artifact ids

- 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

- Deprecated Annotation Type Elements
  Annotation Type Element and Description
  picocli.CommandLine.Option.help Use `CommandLine.Option.usageHelp()` and `CommandLine.Option.versionHelp()` instead. See `CommandLine.printHelpIfRequested(List, PrintStream, CommandLine.Help.Ansi)`

Copyright © 2019. All rights reserved.