# 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 Check the `JmxMetricExporterSpi` with "name=cacheGroups.{cache_group_name}" instead.
  org.apache.ignite.mxbean.CacheMetricsMXBean Check the `JmxMetricExporterSpi` with "name=cache.{cache_name}" instead.
  org.apache.ignite.DataRegionMetrics Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" instead.
  org.apache.ignite.mxbean.DataRegionMetricsMXBean Check the `JmxMetricExporterSpi` with "name=io.dataregion.{data_region_name}" instead.
  org.apache.ignite.DataStorageMetrics Check the `ReadOnlyMetricRegistry` with "name=io.datastorage" instead.
  org.apache.ignite.mxbean.DataStorageMetricsMXBean Check the `JmxMetricExporterSpi` with "name=io.datastorage" instead.
  org.apache.ignite.lang.IgniteAsyncSupport since 2.0. Please use specialized asynchronous methods.
  org.apache.ignite.logger.LoggerNodeIdAware Use `LoggerNodeIdAndApplicationAware` instead.
  org.apache.ignite.MemoryMetrics Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" 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 Check the `ReadOnlyMetricRegistry` with "name=io.datastorage" 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 Check the `JmxMetricExporterSpi` with "name=threadPools.{thread_pool_name}" instead.
  org.apache.ignite.mxbean.TransactionMetricsMxBean Check the `JmxMetricExporterSpi` with "name=\"tx\"" instead.

- Deprecated Classes
  Class and Description
  org.apache.ignite.spi.communication.tcp.AttributeNames fix it in the ticket https://ggsystems.atlassian.net/browse/GG-29546
  org.apache.ignite.events.ClusterActivationEvent Use `ClusterStateChangeEvent` instead.
  org.apache.ignite.DataRegionMetricsAdapter Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" instead.
  org.apache.ignite.DataStorageMetricsAdapter Check the `ReadOnlyMetricRegistry` with "name=io.datastorage" instead.
  org.apache.ignite.logger.log4j.Log4JLogger Log4j 1.x had reached end of life and contains critical vulnerabilities. See the announcement. Please, be aware this module will be removed in the next releases. Use ignite-log4j2 module 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.spi.communication.tcp.TcpCommunicationSpi.ATTR_SHMEM_PORT This constant is not used and will be removed in future releases.
  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.spi.communication.tcp.TcpCommunicationSpi.DFLT_SHMEM_PORT This constant is not used and will be removed in future releases.
  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_CACHE_KEY_VALIDATION_DISABLED Since 2.10 Obsolete because of common use of binary marshaller.
  org.apache.ignite.IgniteSystemProperties.IGNITE_ENABLE_EXPERIMENTAL_COMMAND Use "--enable-experimental" parameter instead.
  org.apache.ignite.IgniteSystemProperties.IGNITE_EVICTION_PERMITS Since version 2.10. Use `IgniteConfiguration.setRebalanceThreadPoolSize(int)` to manage eviction parallelism.
  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_IPC_SHMEM_SPACE_DEBUG This property is ignored and will be deleted in future releases.
  org.apache.ignite.IgniteSystemProperties.IGNITE_JOBS_METRICS_CONCURRENCY_LEVEL Check the `ReadOnlyMetricRegistry` with "name=compute.jobs" instead.
  org.apache.ignite.ssl.SslContextFactory.IGNITE_KEY_ALGORITHM_PROPERTY Use `"ssl.KeyManagerFactory.algorithm"` instead as per JSSE standard. Should be considered for deletion in 9.0.
  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_PDS_PARTITION_DESTROY_CHECKPOINT_DELAY
  org.apache.ignite.IgniteSystemProperties.IGNITE_PDS_WAL_REBALANCE_THRESHOLD use Distributed MetaStorage property `historical.rebalance.threshold`.
  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_THRESHOLD_WAL_ARCHIVE_SIZE_PERCENTAGE Use `DataStorageConfiguration.setMinWalArchiveSize(long)`.
  org.apache.ignite.IgniteSystemProperties.IGNITE_UNWRAP_BINARY_FOR_INDEXING_SPI Should be removed in Apache Ignite 2.0.
  org.apache.ignite.IgniteSystemProperties.IGNITE_WAIT_FOR_BACKUPS_ON_SHUTDOWN Use `ShutdownPolicy` instead.
  org.apache.ignite.IgniteSystemProperties.IGNITE_WAL_DEBUG_LOG_ON_RECOVERY Not used.
  org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.OUT_OF_RESOURCES_TCP_MSG This constant is not used and will be removed in future releases.
  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.IgniteCluster.active() Use `IgniteCluster.state()` instead.
  org.apache.ignite.Ignite.active() Use `IgniteCluster.active()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.active() Check the `ReadOnlyMetricRegistry` with "name=ignite.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.mxbean.IgniteMXBean.active(boolean) Use `IgniteMXBean.clusterState(String, boolean)` instead.
  org.apache.ignite.spi.IgniteSpiContext.addMessageListener(GridMessageListener, String) Use `IgniteSpiContext.addLocalMessageListener(Object, IgniteBiPredicate)` instead.
  org.apache.ignite.services.Service.cancel(ServiceContext) Use `Service.cancel()` instead.
  org.apache.ignite.mxbean.StripedExecutorMXBean.checkStarvation() Will be removed at 3.0.
  org.apache.ignite.mxbean.IgniteMXBean.clusterState() Check the `ReadOnlyMetricRegistry` with "name=ignite.clusterState" instead.
  org.apache.ignite.mxbean.IgniteMXBean.clusterState(String) Use `IgniteMXBean.clusterState(String, boolean)` instead.
  org.apache.ignite.Ignite.dataRegionMetrics() Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" instead.
  org.apache.ignite.Ignite.dataStorageMetrics() Check the `ReadOnlyMetricRegistry` with "name=io.datastorage" 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.services.Service.execute(ServiceContext) Use `Service.execute()` instead.
  org.apache.ignite.client.ClientCompute.executeAsync(String, T) Use `ClientCompute.executeAsync2(String, Object)` instead. This method calls `ClientCompute.executeAsync2(String, Object)` internally, but returns a more limited Future interface.
  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() Check the `ReadOnlyMetricRegistry` with "name=ignite.checkpointSpiFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCollisionSpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.collisionSpiFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCommunicationSpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.communicationSpiFormatted" instead.
  org.apache.ignite.yarn.ApplicationMaster.getContainers()
  org.apache.ignite.spi.discovery.DiscoverySpiMBean.getCoordinator() Use `DiscoverySpiMBean.getCoordinatorNodeFormatted()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCopyright() Check the `ReadOnlyMetricRegistry` with "name=ignite.copyright" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getCurrentCoordinatorFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.currentCoordinatorFormatted" 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.configuration.SqlConfiguration.getDefaultQueryTimeout() Since 2.9. Please use distributed default query timeout.
  org.apache.ignite.mxbean.IgniteMXBean.getDeploymentSpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.deploymentSpiFormatted" instead.
  org.apache.ignite.cache.CacheMetrics.getDhtEvictQueueCurrentSize()
  org.apache.ignite.mxbean.IgniteMXBean.getDiscoverySpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.discoverySpiFormatted" instead.
  org.apache.ignite.configuration.IgniteConfiguration.getDiscoveryStartupDelay() Not used any more.
  org.apache.ignite.mxbean.IgniteMXBean.getEventStorageSpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.eventStorageSpiFormatted" instead.
  org.apache.ignite.configuration.CacheConfiguration.getEvictionPolicy() Use `CacheConfiguration.getEvictionPolicyFactory()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getExecutorServiceFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.executorServiceFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getFailoverSpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.failoverSpiFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getFullVersion() Check the `ReadOnlyMetricRegistry` with "name=ignite.fullVersion" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getGridLoggerFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.gridLoggerFormatted" instead.
  org.apache.ignite.configuration.IgniteConfiguration.getGridName() Use `IgniteConfiguration.getIgniteInstanceName()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getIgniteHome() Check the `ReadOnlyMetricRegistry` with "name=ignite.igniteHome" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getInstanceName() Check the `ReadOnlyMetricRegistry` with "name=ignite.InstanceName" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getJdkInformation() Check the `ReadOnlyMetricRegistry` with "name=ignite.jdkInformation" instead.
  org.apache.ignite.cache.CacheMetrics.getKeySize() Can overflow. Use `CacheMetrics.getCacheSize()` instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLifecycleBeansFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.lifecycleBeansFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLoadBalancingSpiFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.loadBalancingSpiFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLocalNodeId() Check the `ReadOnlyMetricRegistry` with "name=ignite.localNodeId" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLongJVMPauseLastEvents() Check the `ReadOnlyMetricRegistry` with "name=ignite.longJVMPauseLastEvents" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLongJVMPausesCount() Check the `ReadOnlyMetricRegistry` with "name=ignite.longJVMPausesCount" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getLongJVMPausesTotalDuration() Check the `ReadOnlyMetricRegistry` with "name=ignite.longJVMPausesTotalDuration" 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() Check the `ReadOnlyMetricRegistry` with "name=ignite.mBeanServerFormatted" 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() Check the `ReadOnlyMetricRegistry` with "name=ignite.osInformation" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getOsUser() Check the `ReadOnlyMetricRegistry` with "name=ignite.osUser" 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.PersistentStoreConfiguration.getRateTimeInterval() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.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.getRebalanceDelay() Use baseline topology feature instead. Please, be aware this API will be removed in the next releases.
  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.spi.communication.tcp.TcpCommunicationSpiMBean.getSharedMemoryPort() This property will be removed in future releases.
  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() Check the `ReadOnlyMetricRegistry` with "name=ignite.startTimestamp" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getStartTimestampFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.startTimestampFormatted" instead.
  org.apache.ignite.configuration.PersistentStoreConfiguration.getSubIntervals() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.getSubIntervals() Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataStorageConfiguration.getSystemRegionInitialSize() use `SystemDataRegionConfiguration.getInitialSize()`.
  org.apache.ignite.configuration.DataStorageConfiguration.getSystemRegionMaxSize() use `SystemDataRegionConfiguration.getMaxSize()`.
  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() Check the `ReadOnlyMetricRegistry` with "name=ignite.upTime" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getUpTimeFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.uptimeFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getUserAttributesFormatted() Check the `ReadOnlyMetricRegistry` with "name=ignite.userAttributesFormatted" instead.
  org.apache.ignite.mxbean.IgniteMXBean.getVmName() Check the `ReadOnlyMetricRegistry` with "name=ignite.VmName" 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.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.includeNotReadyAddresses(boolean) set parameters with `KubernetesConnectionConfiguration` instead.
  org.apache.ignite.services.Service.init(ServiceContext) Use `Service.init()` instead.
  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() Check the `ReadOnlyMetricRegistry` with "name=ignite.isNodeInBaseline" instead.
  org.apache.ignite.mxbean.IgniteMXBean.isPeerClassLoadingEnabled() Check the `ReadOnlyMetricRegistry` with "name=ignite.isPeerClassLoadingEnabled" 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() Check the `ReadOnlyMetricRegistry` with "name=ignite.isRebalanceEnabled" 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() Check the `ReadOnlyMetricRegistry` with "name=ignite.lastClusterStateChangeTime" instead.
  org.apache.ignite.IgniteCache.lockAll(Collection<? extends K>) It is recommended to use `Ignite.reentrantLock(String, boolean, boolean, boolean)` instead. This method will be removed in future releases.
  org.apache.ignite.Ignite.memoryMetrics() Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" instead.
  org.apache.ignite.Ignite.memoryMetrics(String) Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" instead.
  org.apache.ignite.Ignite.persistentStoreMetrics() Check the `ReadOnlyMetricRegistry` with "name=io.dataregion.{data_region_name}" 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.IgniteCache.rebalance() Use baseline topology feature instead. Please, be aware this API will be removed in the next releases.
  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.IgniteServices.service(String) Use the proxies like `IgniteServices.serviceProxy(String, Class, boolean)`. References to local services corrupt the service statistics and bring no real performance optimization.
  org.apache.ignite.IgniteServices.services(String) Use the proxies like `IgniteServices.serviceProxy(String, Class, boolean)`. References to local services corrupt the service statistics and bring no real performance optimization.
  org.apache.ignite.cache.store.CacheStore.sessionEnd(boolean) Use `CacheStoreSessionListener` instead (refer to its JavaDoc for details).
  org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.setAccountToken(String) set parameters with `KubernetesConnectionConfiguration` instead.
  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.SqlConfiguration.setDefaultQueryTimeout(long) Since 2.9. Please use distributed default query timeout.
  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.configuration.IgniteConfiguration.setLateAffinityAssignment(boolean) Starting from Ignite 2.1 late affinity assignment is always enabled.
  org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.setListener(CommunicationListener<Message>)
  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.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.setMasterUrl(String) set parameters with `KubernetesConnectionConfiguration` instead.
  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.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.setNamespace(String) set parameters with `KubernetesConnectionConfiguration` 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.PersistentStoreConfiguration.setRateTimeInterval(long) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.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.setRebalanceDelay(long) Use baseline topology feature instead. Please, be aware this API will be removed in the next releases.
  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.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder.setServiceName(String) set parameters with `KubernetesConnectionConfiguration` instead.
  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.PersistentStoreConfiguration.setSubIntervals(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.MemoryPolicyConfiguration.setSubIntervals(int) Use `MetricsMxBean.configureHitRateMetric(String, long)` instead.
  org.apache.ignite.configuration.DataStorageConfiguration.setSystemRegionInitialSize(long) use `SystemDataRegionConfiguration.setInitialSize(long)`.
  org.apache.ignite.configuration.DataStorageConfiguration.setSystemRegionMaxSize(long) use `SystemDataRegionConfiguration.setMaxSize(long)`.
  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.communication.tcp.TcpCommunicationSpi.simulateNodeFailure() you should you DI and get instances of [nioSrvWrapper, commWorker, clientPool] via it.
  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.IgniteCompute.withAsync()
  org.apache.ignite.IgniteCache.withAsync()
  org.apache.ignite.IgniteServices.withAsync()
  org.apache.ignite.IgniteEvents.withAsync()
  org.apache.ignite.IgniteMessaging.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.CacheMode.LOCAL Use `CacheMode.REPLICATED` or `CacheMode.PARTITIONED` modes instead. Please, be aware this API will be removed in the next releases.
  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.
  org.apache.ignite.cache.CacheAtomicityMode.TRANSACTIONAL_SNAPSHOT Use `CacheAtomicityMode.TRANSACTIONAL` or `CacheAtomicityMode.ATOMIC` instead. Please, be aware this API will be removed in the next releases.

- 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.GridifySetToSet.gridName Use `GridifySetToSet.igniteInstanceName()`. Nonempty `GridifySetToSet.igniteInstanceName()` takes precedence.
  org.apache.ignite.compute.gridify.Gridify.gridName Use `Gridify.igniteInstanceName()`. Nonempty `Gridify.igniteInstanceName()` takes precedence.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022