# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Annotation Types
- Deprecated Fields
- Deprecated Methods
- Deprecated Enum Constants
- Deprecated Annotation Type Elements

- Deprecated Interfaces
  Interface and Description
  org.apache.ignite.cache.affinity.AffinityKeyMapper Use `AffinityKeyMapped` or `CacheKeyConfiguration.setAffinityKeyFieldName(String)` instead.
  org.apache.ignite.mxbean.CacheGroupMetricsMXBean Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.CacheMetricsMXBean Use `GridMetricManager` instead.
  org.apache.ignite.DataRegionMetrics Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.DataRegionMetricsMXBean Use `GridMetricManager` instead.
  org.apache.ignite.DataStorageMetrics Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.DataStorageMetricsMXBean Use `GridMetricManager` instead.
  org.apache.ignite.lang.IgniteAsyncSupport since 2.0. Please use specialized asynchronous methods.
  org.apache.ignite.MemoryMetrics Use `DataRegionMetrics` instead.
  org.apache.ignite.mxbean.MemoryMetricsMXBean Part of old API. Metrics are accessible through `DataRegionMetricsMXBean`.
  org.apache.ignite.plugin.extensions.communication.MessageFactory Use `MessageFactoryProvider` instead.
  org.apache.ignite.PersistenceMetrics Use `DataStorageMetrics` instead.
  org.apache.ignite.mxbean.PersistenceMetricsMXBean Part of old API. Metrics are accessible through `DataStorageMetricsMXBean`.
  org.apache.ignite.stream.StreamTupleExtractor Will be removed in 2.0.0.
  org.apache.ignite.mxbean.ThreadPoolMXBean Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.TransactionMetricsMxBean Use `GridMetricManager` instead.

- Deprecated Classes
  Class and Description
  org.apache.ignite.events.ClusterActivationEvent Use `ClusterStateChangeEvent` instead.
  org.apache.ignite.DataRegionMetricsAdapter Use `GridMetricManager` instead.
  org.apache.ignite.DataStorageMetricsAdapter Use `GridMetricManager` instead.
  org.apache.ignite.configuration.MemoryConfiguration Use `DataStorageConfiguration` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration Use `DataRegionConfiguration` instead.
  org.apache.ignite.configuration.OdbcConfiguration
  org.apache.ignite.configuration.PersistentStoreConfiguration Use `DataStorageConfiguration` instead.
  org.apache.ignite.configuration.SqlConnectorConfiguration
  org.apache.ignite.cache.query.SqlQuery Since 2.8, please use `SqlFieldsQuery` instead.

- Deprecated Annotation Types
  Annotation Type and Description
  org.apache.ignite.lang.IgniteAsyncSupported since 2.0. Please use specialized asynchronous methods.
  org.apache.ignite.mxbean.MXBeanParametersDescriptions Use `MXBeanParameter` instead.
  org.apache.ignite.mxbean.MXBeanParametersNames Use `MXBeanParameter` instead.

- Deprecated Fields
  Field and Description
  org.apache.ignite.configuration.IgniteConfiguration.DFLT_ACTIVE_ON_START
  org.apache.ignite.configuration.IgniteConfiguration.DFLT_AUTO_ACTIVATION
  org.apache.ignite.configuration.IgniteConfiguration.DFLT_LATE_AFF_ASSIGNMENT
  org.apache.ignite.configuration.CacheConfiguration.DFLT_LOCK_TIMEOUT Default lock timeout configuration property has no effect.
  org.apache.ignite.configuration.IgniteConfiguration.DFLT_LONG_QRY_WARN_TIMEOUT Please use `SqlConfiguration.DFLT_LONG_QRY_WARN_TIMEOUT`.
  org.apache.ignite.configuration.CacheConfiguration.DFLT_LONG_QRY_WARN_TIMEOUT
  org.apache.ignite.IgniteDataStreamer.DFLT_MAX_PARALLEL_OPS Is not used anymore.
  org.apache.ignite.configuration.TransactionConfiguration.DFLT_PESSIMISTIC_TX_LOG_LINGER Pessimistic tx log linger property has no effect.
  org.apache.ignite.configuration.CacheConfiguration.DFLT_REBALANCE_BATCH_SIZE Use `IgniteConfiguration.DFLT_REBALANCE_BATCH_SIZE` instead.
  org.apache.ignite.configuration.CacheConfiguration.DFLT_REBALANCE_BATCHES_PREFETCH_COUNT Use `IgniteConfiguration.DFLT_REBALANCE_BATCHES_PREFETCH_COUNT` instead.
  org.apache.ignite.configuration.CacheConfiguration.DFLT_REBALANCE_THREAD_POOL_SIZE Use `IgniteConfiguration.DFLT_REBALANCE_THREAD_POOL_SIZE` instead.
  org.apache.ignite.configuration.CacheConfiguration.DFLT_REBALANCE_THROTTLE Use `IgniteConfiguration.DFLT_REBALANCE_THROTTLE` instead.
  org.apache.ignite.configuration.CacheConfiguration.DFLT_REBALANCE_TIMEOUT Use `IgniteConfiguration.DFLT_REBALANCE_TIMEOUT` instead.
  org.apache.ignite.configuration.IgniteConfiguration.DFLT_SQL_QUERY_HISTORY_SIZE Please use `SqlConfiguration.DFLT_SQL_QUERY_HISTORY_SIZE`.
  org.apache.ignite.cache.hibernate.HibernateAccessStrategyFactory.GRID_NAME_PROPERTY Use `HibernateAccessStrategyFactory.IGNITE_INSTANCE_NAME_PROPERTY`. If `HibernateAccessStrategyFactory.IGNITE_INSTANCE_NAME_PROPERTY` is specified it takes precedence.
  org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinderAdapter.ignite Since 2.8. May contain an invalid Ignite instance when multiple nodes shares same `TcpDiscoveryIpFinder` instance.
  org.apache.ignite.IgniteSystemProperties.IGNITE_BINARY_DONT_WRAP_TREE_STRUCTURES Should be removed in Apache Ignite 2.0.
  org.apache.ignite.IgniteSystemProperties.IGNITE_BINARY_SORT_OBJECT_FIELDS Should be removed in Apache Ignite 2.0.
  org.apache.ignite.IgniteSystemProperties.IGNITE_H2_DEBUG_CONSOLE Since 2.8. H2 console is no longer supported.
  org.apache.ignite.IgniteSystemProperties.IGNITE_H2_DEBUG_CONSOLE_PORT Since 2.8. H2 console is no longer supported.
  org.apache.ignite.IgniteSystemProperties.IGNITE_JOBS_METRICS_CONCURRENCY_LEVEL Use `GridMetricManager` instead.
  org.apache.ignite.IgniteSystemProperties.IGNITE_LOG_GRID_NAME Use `IgniteSystemProperties.IGNITE_LOG_INSTANCE_NAME`.
  org.apache.ignite.IgniteSystemProperties.IGNITE_MIN_BUFFERED_COMMUNICATION_MSG_CNT Not used anymore.
  org.apache.ignite.IgniteSystemProperties.IGNITE_REBALANCE_STATISTICS_TIME_INTERVAL Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.IgniteSystemProperties.IGNITE_REBALANCE_THROTTLE_OVERRIDE Use `IgniteConfiguration.getRebalanceThrottle()` instead.
  org.apache.ignite.IgniteSystemProperties.IGNITE_REST_GETALL_AS_ARRAY Should be made default in Apache Ignite 3.0.
  org.apache.ignite.IgniteSystemProperties.IGNITE_SQL_FORCE_LAZY_RESULT_SET Since version 2.8.
  org.apache.ignite.IgniteSystemProperties.IGNITE_UNWRAP_BINARY_FOR_INDEXING_SPI Should be removed in Apache Ignite 2.0.
  org.apache.ignite.ml.xgboost.parser.XGBoostModelParser.tokenNames Use `XGBoostModelParser.VOCABULARY` instead.
  org.apache.ignite.ml.xgboost.parser.XGBoostModelLexer.tokenNames Use `XGBoostModelLexer.VOCABULARY` instead.

- Deprecated Methods
  Method and Description
  org.apache.ignite.mxbean.IgniteMXBean.active() Use `GridMetricManager` instead.
  org.apache.ignite.IgniteCluster.active() Use `IgniteCluster.state()` instead.
  org.apache.ignite.Ignite.active() Use `IgniteCluster.active()` instead.
  org.apache.ignite.IgniteCluster.active(boolean) Use `IgniteCluster.state(ClusterState)` instead.
  org.apache.ignite.Ignite.active(boolean) Use `IgniteCluster.active(boolean)` instead.
  org.apache.ignite.spi.IgniteSpiContext.addMessageListener(GridMessageListener, String) Use `IgniteSpiContext.addLocalMessageListener(Object, IgniteBiPredicate)` instead.
  org.apache.ignite.mxbean.StripedExecutorMXBean.checkStarvation() Will be removed at 3.0.
  org.apache.ignite.mxbean.IgniteMXBean.clusterState() Use `GridMetricManager` instead.
  org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinderAdapter.discoveryClientMode() Since 2.8. May return incorrect value if client and server nodes shares same `TcpDiscoveryIpFinder` instance.
  org.apache.ignite.cache.CacheMetrics.estimateRebalancingFinishTime()
  org.apache.ignite.IgniteCompute.future()
  org.apache.ignite.lang.IgniteAsyncSupport.future() since 2.0. Please use new specialized async method e.g.
           IgniteFuture f = cache.getAsync();
  instead of old-style async API:
           IgniteCache asyncCache = cache.withAsync();
           asyncCache.get(key);
           IgniteFuture fut = asyncCache.future();
  org.apache.ignite.mxbean.IgniteMXBean.getCheckpointSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCollisionSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCommunicationSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.yarn.ApplicationMaster.getContainers()
  org.apache.ignite.spi.discovery.DiscoverySpiMBean.getCoordinator() Use `DiscoverySpiMBean.getCoordinatorNodeFormatted()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCopyright() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCurrentCoordinatorFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.CacheConfiguration.getDefaultLockTimeout() Default lock timeout configuration property has no effect.
  org.apache.ignite.configuration.IgniteConfiguration.getDefaultQueryTimeout() Use `SqlConfiguration.getDefaultQueryTimeout()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getDeploymentSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.cache.CacheMetrics.getDhtEvictQueueCurrentSize()
  org.apache.ignite.mxbean.IgniteMXBean.getDiscoverySpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getDiscoveryStartupDelay() Not used any more.
  org.apache.ignite.mxbean.IgniteMXBean.getEventStorageSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.CacheConfiguration.getEvictionPolicy() Use `CacheConfiguration.getEvictionPolicyFactory()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getExecutorServiceFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getFailoverSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getFullVersion() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getGridLoggerFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getGridName() Use `IgniteConfiguration.getIgniteInstanceName()` instead.
  org.apache.ignite.transactions.spring.SpringTransactionManager.getGridName() Use `SpringTransactionManager.getIgniteInstanceName()`.
  org.apache.ignite.cache.spring.SpringCacheManager.getGridName() Use `SpringCacheManager.getIgniteInstanceName()`.
  org.apache.ignite.mxbean.IgniteMXBean.getIgniteHome() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getInstanceName() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getJdkInformation() Use `GridMetricManager` instead.
  org.apache.ignite.cache.CacheMetrics.getKeySize() Can overflow. Use `CacheMetrics.getCacheSize()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLifecycleBeansFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLoadBalancingSpiFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLocalNodeId() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLongJVMPauseLastEvents() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLongJVMPausesCount() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLongJVMPausesTotalDuration() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getLongQueryWarningTimeout() Use `SqlConfiguration.getLongQueryWarningTimeout()` instead.
  org.apache.ignite.configuration.CacheConfiguration.getLongQueryWarningTimeout() Use `IgniteConfiguration.getLongQueryWarningTimeout()` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getMarshaller() Since 2.1. Some Ignite features will not work if non-null marshaller is set (IgniteCache.withKeepBinary(), .NET, CPP, ODBC)
  org.apache.ignite.mxbean.IgniteMXBean.getMBeanServerFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getMemoryConfiguration() Use `DataStorageConfiguration` instead.
  org.apache.ignite.configuration.CacheConfiguration.getMemoryPolicyName() Use `CacheConfiguration.getDataRegionName()` (String)} instead.
  org.apache.ignite.configuration.DataStorageConfiguration.getMetricsRateTimeInterval() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataRegionConfiguration.getMetricsRateTimeInterval() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataStorageConfiguration.getMetricsSubIntervalCount() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataRegionConfiguration.getMetricsSubIntervalCount() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.NearCacheConfiguration.getNearEvictionPolicy() Use `NearCacheConfiguration.getNearEvictionPolicyFactory()` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getNodeId()
  org.apache.ignite.configuration.IgniteConfiguration.getOdbcConfiguration() Use `IgniteConfiguration.getClientConnectorConfiguration()` ()} instead.
  org.apache.ignite.mxbean.IgniteMXBean.getOsInformation() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getOsUser() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getPersistentStoreConfiguration() Part of old API. Use `DataStorageConfiguration` for configuring persistence instead.
  org.apache.ignite.configuration.TransactionConfiguration.getPessimisticTxLogLinger() Pessimistic tx log linger property has no effect.
  org.apache.ignite.configuration.TransactionConfiguration.getPessimisticTxLogSize() Pessimistic tx log size property has no effect.
  org.apache.ignite.configuration.IgniteConfiguration.getPluginConfigurations()
  org.apache.ignite.configuration.MemoryPolicyConfiguration.getRateTimeInterval() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.getRateTimeInterval() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.CacheConfiguration.getRebalanceBatchesPrefetchCount() Use `IgniteConfiguration.getRebalanceBatchesPrefetchCount()` instead.
  org.apache.ignite.configuration.CacheConfiguration.getRebalanceBatchSize() Use `IgniteConfiguration.getRebalanceBatchSize()` instead.
  org.apache.ignite.configuration.CacheConfiguration.getRebalanceThreadPoolSize()
  org.apache.ignite.configuration.CacheConfiguration.getRebalanceThrottle() Use `IgniteConfiguration.getRebalanceThrottle()` instead.
  org.apache.ignite.configuration.CacheConfiguration.getRebalanceTimeout() Use `IgniteConfiguration.getRebalanceTimeout()` instead.
  org.apache.ignite.cache.CacheMetrics.getSize() Can overflow. Use `CacheMetrics.getCacheSize()` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getSqlConnectorConfiguration() Use `IgniteConfiguration.getClientConnectorConfiguration()` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getSqlQueryHistorySize() Use `SqlConfiguration.setSqlQueryHistorySize(int)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.getSqlSchemas() Use `SqlConfiguration.getSqlSchemas()` instead.
  org.apache.ignite.configuration.ConnectorConfiguration.getSslContextFactory() Use `ConnectorConfiguration.getSslFactory()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getStartTimestamp() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getStartTimestampFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.getSubIntervals() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.getSubIntervals() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.getTlbSize() Instead `PersistentStoreConfiguration.getWalBufferSize()` should be used.
  org.apache.ignite.ml.xgboost.parser.XGBoostModelParser.getTokenNames()
  org.apache.ignite.ml.xgboost.parser.XGBoostModelLexer.getTokenNames()
  org.apache.ignite.configuration.CacheConfiguration.getTransactionManagerLookupClassName() Use `TransactionConfiguration.getTxManagerFactory()` instead.
  org.apache.ignite.stream.StreamAdapter.getTupleExtractor()
  org.apache.ignite.cache.CacheMetrics.getTxCommitQueueSize()
  org.apache.ignite.cache.CacheMetrics.getTxDhtCommitQueueSize()
  org.apache.ignite.cache.CacheMetrics.getTxDhtPrepareQueueSize()
  org.apache.ignite.cache.CacheMetrics.getTxDhtStartVersionCountsSize()
  org.apache.ignite.configuration.TransactionConfiguration.getTxManagerLookupClassName() Use `TransactionConfiguration.getTxManagerFactory()` instead.
  org.apache.ignite.cache.CacheMetrics.getTxPrepareQueueSize()
  org.apache.ignite.cache.CacheMetrics.getTxStartVersionCountsSize()
  org.apache.ignite.mxbean.IgniteMXBean.getUpTime() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getUpTimeFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getUserAttributesFormatted() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getVmName() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.getWalBufferSize()
  org.apache.ignite.configuration.DataStorageConfiguration.getWalHistorySize() Instead of walHistorySize use maxWalArchiveSize for manage of archive size.
  org.apache.ignite.configuration.IgniteConfiguration.isActiveOnStart() Use `IgniteConfiguration.getClusterStateOnStart()` instead.
  org.apache.ignite.lang.IgniteAsyncSupport.isAsync() since 2.0. Please use new specialized async method e.g.
           IgniteFuture f = cache.getAsync();
  instead of old-style async API:
           IgniteCache asyncCache = cache.withAsync();
           asyncCache.get(key);
           IgniteFuture fut = asyncCache.future();
  org.apache.ignite.configuration.IgniteConfiguration.isAutoActivationEnabled() Use `IgniteConfiguration.getClusterStateOnStart()` instead.
  org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.isForceServerMode() Will be removed at 3.0.
  org.apache.ignite.platform.dotnet.PlatformDotNetBinaryTypeConfiguration.isKeepDeserialized() Use `PlatformDotNetBinaryTypeConfiguration.getKeepDeserialized()` instead.
  org.apache.ignite.configuration.IgniteConfiguration.isLateAffinityAssignment() Starting from Ignite 2.1 late affinity assignment is always enabled.
  org.apache.ignite.mxbean.IgniteMXBean.isNodeInBaseline() Use `GridMetricManager` instead.
  org.apache.ignite.mxbean.IgniteMXBean.isPeerClassLoadingEnabled() Use `GridMetricManager` instead.
  org.apache.ignite.configuration.IgniteConfiguration.isPersistentStoreEnabled() Part of legacy configuration API. Doesn't work if new configuration API is used.
  org.apache.ignite.mxbean.IgniteMXBean.isRebalanceEnabled() Use `GridMetricManager` instead.
  org.apache.ignite.cache.query.SqlQuery.isReplicatedOnly() No longer used as of Apache Ignite 2.8.
  org.apache.ignite.cache.query.SqlFieldsQuery.isReplicatedOnly() No longer used as of Apache Ignite 2.8.
  org.apache.ignite.configuration.TransactionConfiguration.isTxSerializableEnabled()
  org.apache.ignite.spi.systemview.view.ComputeTaskView.jobId() Use `ComputeTaskView.id()` or `ComputeTaskView.sessionId()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.lastClusterStateChangeTime() Use `GridMetricManager` instead.
  org.apache.ignite.Ignite.memoryMetrics() Use `Ignite.dataRegionMetrics()` instead.
  org.apache.ignite.Ignite.memoryMetrics(String) Use `Ignite.dataRegionMetrics(String)` instead.
  org.apache.ignite.Ignite.persistentStoreMetrics() Use `Ignite.dataStorageMetrics()` instead.
  org.apache.ignite.mxbean.DataRegionMetricsMXBean.rateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.mxbean.DataStorageMetricsMXBean.rateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.cache.CacheMetrics.rebalancingStartTime()
  org.apache.ignite.marshaller.MarshallerContext.registerClassName(byte, int, String) Use `MarshallerContext.registerClassName(byte, int, java.lang.String, boolean)` instead. This particular method will be deleted in future releases.
  org.apache.ignite.spi.IgniteSpiContext.removeMessageListener(GridMessageListener, String) Use `IgniteSpiContext.removeLocalMessageListener(Object, IgniteBiPredicate)` instead.
  org.apache.ignite.cache.store.CacheStore.sessionEnd(boolean) Use `CacheStoreSessionListener` instead (refer to its JavaDoc for details).
  org.apache.ignite.configuration.IgniteConfiguration.setActiveOnStart(boolean) Use `IgniteConfiguration.setClusterStateOnStart(ClusterState)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setAutoActivationEnabled(boolean) Use `IgniteConfiguration.setClusterStateOnStart(ClusterState)` instead.
  org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction.setBackupFilter(IgniteBiPredicate<ClusterNode, ClusterNode>) Use `affinityBackupFilter` instead.
  org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.setDataSource(DataSource)
  org.apache.ignite.configuration.CacheConfiguration.setDefaultLockTimeout(long) Default lock timeout configuration property has no effect.
  org.apache.ignite.configuration.IgniteConfiguration.setDefaultQueryTimeout(long) Use `SqlConfiguration.setDefaultQueryTimeout(long)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setDiscoveryStartupDelay(long) Not used any more.
  org.apache.ignite.configuration.CacheConfiguration.setEvictionPolicy(EvictionPolicy) Use `CacheConfiguration.setEvictionPolicyFactory(Factory)` instead.
  org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.setForceServerMode(boolean) Will be removed at 3.0.
  org.apache.ignite.configuration.IgniteConfiguration.setGridName(String) Use `IgniteConfiguration.setIgniteInstanceName(String)` instead.
  org.apache.ignite.transactions.spring.SpringTransactionManager.setGridName(String) Use `SpringTransactionManager.setIgniteInstanceName(String)`.
  org.apache.ignite.cache.spring.SpringCacheManager.setGridName(String) Use `SpringCacheManager.setIgniteInstanceName(String)`.
  org.apache.ignite.configuration.IgniteConfiguration.setLateAffinityAssignment(boolean) Starting from Ignite 2.1 late affinity assignment is always enabled.
  org.apache.ignite.spi.discovery.DiscoverySpi.setListener(DiscoverySpiListener)
  org.apache.ignite.configuration.IgniteConfiguration.setLongQueryWarningTimeout(long) Use `SqlConfiguration.setLongQueryWarningTimeout(long)` instead.
  org.apache.ignite.configuration.CacheConfiguration.setLongQueryWarningTimeout(long) Use `IgniteConfiguration.setLongQueryWarningTimeout(long)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setMarshaller(Marshaller) Since 2.1. Some Ignite features will not work if non-null marshaller is set (IgniteCache.withKeepBinary(), .NET, CPP, ODBC)
  org.apache.ignite.configuration.IgniteConfiguration.setMemoryConfiguration(MemoryConfiguration) Use `DataStorageConfiguration` instead.
  org.apache.ignite.configuration.CacheConfiguration.setMemoryPolicyName(String) Use `CacheConfiguration.setDataRegionName(String)` instead.
  org.apache.ignite.configuration.DataStorageConfiguration.setMetricsRateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataRegionConfiguration.setMetricsRateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataStorageConfiguration.setMetricsSubIntervalCount(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataRegionConfiguration.setMetricsSubIntervalCount(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.NearCacheConfiguration.setNearEvictionPolicy(EvictionPolicy<K, V>) Use `NearCacheConfiguration.setNearEvictionPolicyFactory(Factory)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setNodeId(UUID) Use `IgniteConfiguration.setConsistentId(Serializable)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setOdbcConfiguration(OdbcConfiguration) Use `IgniteConfiguration.setClientConnectorConfiguration(ClientConnectorConfiguration)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setPersistentStoreConfiguration(PersistentStoreConfiguration) Part of old API. Use `DataStorageConfiguration` for configuring persistence instead.
  org.apache.ignite.configuration.TransactionConfiguration.setPessimisticTxLogLinger(int) Pessimistic tx log linger property has no effect.
  org.apache.ignite.configuration.TransactionConfiguration.setPessimisticTxLogSize(int) Pessimistic tx log size property has no effect.
  org.apache.ignite.configuration.IgniteConfiguration.setPluginConfigurations(PluginConfiguration...) Since `PluginProvider`s can be set explicitly via `IgniteConfiguration.setPluginProviders(PluginProvider[])` it's preferable to store `PluginConfiguration` as a part of `PluginProvider`.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.setRateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.setRateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.CacheConfiguration.setRebalanceBatchesPrefetchCount(long) Use `IgniteConfiguration.setRebalanceBatchesPrefetchCount(long)` instead.
  org.apache.ignite.configuration.CacheConfiguration.setRebalanceBatchSize(int) Use `IgniteConfiguration.setRebalanceBatchSize(int)` instead.
  org.apache.ignite.configuration.CacheConfiguration.setRebalanceThreadPoolSize(int)
  org.apache.ignite.configuration.CacheConfiguration.setRebalanceThrottle(long) Use `IgniteConfiguration.setRebalanceThrottle(long)` instead.
  org.apache.ignite.configuration.CacheConfiguration.setRebalanceTimeout(long) Use `IgniteConfiguration.setRebalanceTimeout(long)` instead.
  org.apache.ignite.cache.query.ContinuousQuery.setRemoteFilter(CacheEntryEventSerializableFilter<K, V>) Use `AbstractContinuousQuery.setRemoteFilterFactory(Factory)` instead.
  org.apache.ignite.cache.query.SqlQuery.setReplicatedOnly(boolean) No longer used as of Apache Ignite 2.8.
  org.apache.ignite.cache.query.SqlFieldsQuery.setReplicatedOnly(boolean) No longer used as of Apache Ignite 2.8.
  org.apache.ignite.configuration.IgniteConfiguration.setSqlConnectorConfiguration(SqlConnectorConfiguration) Use `IgniteConfiguration.setClientConnectorConfiguration(ClientConnectorConfiguration)` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setSqlQueryHistorySize(int) Use `SqlConfiguration.getSqlQueryHistorySize()` instead.
  org.apache.ignite.configuration.IgniteConfiguration.setSqlSchemas(String...) Use `SqlConfiguration.setSqlSchemas(String...)` instead.
  org.apache.ignite.configuration.ConnectorConfiguration.setSslContextFactory(GridSslContextFactory) Use `ConnectorConfiguration.setSslFactory(Factory)` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.setSubIntervals(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.setSubIntervals(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.setTlbSize(int) Instead `PersistentStoreConfiguration.setWalBufferSize(int walBuffSize)` should be used.
  org.apache.ignite.configuration.CacheConfiguration.setTransactionManagerLookupClassName(String) Use `TransactionConfiguration.setTxManagerFactory(Factory)` instead.
  org.apache.ignite.stream.StreamAdapter.setTupleExtractor(StreamTupleExtractor<T, K, V>)
  org.apache.ignite.configuration.TransactionConfiguration.setTxManagerLookupClassName(String) Use `TransactionConfiguration.setTxManagerFactory(Factory)` instead.
  org.apache.ignite.configuration.TransactionConfiguration.setTxSerializableEnabled(boolean) This method has no effect, `TransactionIsolation.SERIALIZABLE` isolation is always enabled.
  org.apache.ignite.configuration.PersistentStoreConfiguration.setWalBufferSize(int)
  org.apache.ignite.configuration.DataStorageConfiguration.setWalHistorySize(int) Instead of walHistorySize use maxWalArchiveSize for manage of archive size.
  org.apache.ignite.spi.discovery.DiscoverySpiCustomMessage.stopProcess() Is not used anymore and will be removed at 3.0.
  org.apache.ignite.mxbean.DataRegionMetricsMXBean.subIntervals(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.mxbean.DataStorageMetricsMXBean.subIntervals(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.plugin.PluginProvider.validateNewNode(ClusterNode) Use `PluginProvider.validateNewNode(ClusterNode, Serializable)` instead.
  org.apache.ignite.IgniteCluster.withAsync()
  org.apache.ignite.IgniteServices.withAsync()
  org.apache.ignite.IgniteMessaging.withAsync()
  org.apache.ignite.IgniteCompute.withAsync()
  org.apache.ignite.IgniteCache.withAsync()
  org.apache.ignite.IgniteEvents.withAsync()
  org.apache.ignite.lang.IgniteAsyncSupport.withAsync() since 2.0. Please use new specialized async method e.g.
           IgniteFuture f = cache.getAsync();
  instead of old-style async API:
           IgniteCache asyncCache = cache.withAsync();
           asyncCache.get(key);
           IgniteFuture fut = asyncCache.future();

- Deprecated Enum Constants
  Enum Constant and Description
  org.apache.ignite.configuration.WALMode.DEFAULT This mode is no longer default and left here only for API compatibility. It is equivalent to the `FSYNC` mode.
  org.apache.ignite.cache.PartitionLossPolicy.READ_ONLY_ALL `PartitionLossPolicy.READ_ONLY_SAFE` is used instead.
  org.apache.ignite.cache.PartitionLossPolicy.READ_WRITE_ALL `PartitionLossPolicy.READ_WRITE_SAFE` is used instead.

- Deprecated Annotation Type Elements
  Annotation Type Element and Description
  org.apache.ignite.compute.gridify.GridifySetToValue.gridName Use `GridifySetToValue.igniteInstanceName()`. Nonempty `GridifySetToValue.igniteInstanceName()` takes precedence.
  org.apache.ignite.compute.gridify.Gridify.gridName Use `Gridify.igniteInstanceName()`. Nonempty `Gridify.igniteInstanceName()` takes precedence.
  org.apache.ignite.compute.gridify.GridifySetToSet.gridName Use `GridifySetToSet.igniteInstanceName()`. Nonempty `GridifySetToSet.igniteInstanceName()` takes precedence.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020