# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
Interface and Description
org.apache.ignite.cache.affinity.AffinityNodeHashResolver Use `IgniteConfiguration.setConsistentId(Serializable)` instead.
org.apache.ignite.internal.client.ssl.GridSslContextFactory Use `Factory` instead.
org.apache.ignite.stream.StreamTupleExtractor Will be removed in 2.0.0.

Deprecated Classes
Class and Description
org.apache.ignite.cache.affinity.AffinityNodeAddressHashResolver Use `IgniteConfiguration.setConsistentId(Serializable)` instead.
org.apache.ignite.cache.affinity.AffinityNodeIdHashResolver Use `IgniteConfiguration.setConsistentId(Serializable)` instead.
org.apache.ignite.cache.CacheTypeMetadata Use `QueryEntity` instead.
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap
org.apache.ignite.internal.client.ssl.GridSslBasicContextFactory Use `Factory` instead.
org.apache.ignite.internal.jdbc.JdbcConnection Using Ignite client node based JDBC driver is preferable. See documentation of `IgniteJdbcDriver` for details.
org.apache.ignite.internal.jdbc.JdbcDatabaseMetadata Using Ignite client node based JDBC driver is preferable. See documentation of `IgniteJdbcDriver` for details.
org.apache.ignite.internal.jdbc.JdbcPreparedStatement Using Ignite client node based JDBC driver is preferable. See documentation of `IgniteJdbcDriver` for details.
org.apache.ignite.internal.jdbc.JdbcResultSet Using Ignite client node based JDBC driver is preferable. See documentation of `IgniteJdbcDriver` for details.
org.apache.ignite.internal.jdbc.JdbcResultSetMetadata Using Ignite client node based JDBC driver is preferable. See documentation of `IgniteJdbcDriver` for details.
org.apache.ignite.internal.jdbc.JdbcStatement Using Ignite client node based JDBC driver is preferable. See documentation of `IgniteJdbcDriver` for details.
org.apache.ignite.cache.eviction.random.RandomEvictionPolicy This eviction policy implementation doesn't support near cache and doesn't work on client nodes. Also it seems that random eviction doesn't make sense.

Deprecated Fields
Field and Description
org.apache.ignite.configuration.CacheConfiguration.DFLT_REBALANCE_THREAD_POOL_SIZE
org.apache.ignite.IgniteSystemProperties.IGNITE_MIN_BUFFERED_COMMUNICATION_MSG_CNT Not used anymore.

Deprecated Methods
Method and Description
org.apache.ignite.internal.util.IgniteUtils.debug(IgniteLogger, String) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.debug(Object) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.debugStack(IgniteLogger, String) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.debugx(String) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.dumpStack() Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.dumpStack(String) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.dumpStack(String, PrintStream) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.dumpStack(Thread) Calls to this method should never be committed to master.
org.apache.ignite.internal.util.IgniteUtils.dumpStack(Thread, PrintStream) Calls to this method should never be committed to master.
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpiMBean.getConnectionBufferFlushFrequency() Not used anymore.
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getConnectionBufferFlushFrequency()
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpiMBean.getConnectionBufferSize() Not used anymore.
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getConnectionBufferSize()
org.apache.ignite.configuration.FileSystemConfiguration.getFragmentizerLocalWritesRatio() Parameter is no longer used.
org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction.getHashIdResolver()
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpiMBean.getMinimumBufferedMessageCount() Not used anymore.
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.getMinimumBufferedMessageCount()
org.apache.ignite.configuration.IgniteConfiguration.getNodeId()
org.apache.ignite.configuration.CacheConfiguration.getRebalanceThreadPoolSize()
org.apache.ignite.configuration.ConnectorConfiguration.getSslContextFactory() Use `ConnectorConfiguration.getSslFactory()` instead.
org.apache.ignite.configuration.CacheConfiguration.getTransactionManagerLookupClassName() Use `TransactionConfiguration.getTxManagerFactory()` instead.
org.apache.ignite.stream.StreamAdapter.getTupleExtractor()
org.apache.ignite.configuration.TransactionConfiguration.getTxManagerLookupClassName() Use `TransactionConfiguration.getTxManagerFactory()` instead.
org.apache.ignite.platform.dotnet.PlatformDotNetBinaryTypeConfiguration.isKeepDeserialized() Use `PlatformDotNetBinaryTypeConfiguration.getKeepDeserialized()` instead.
org.apache.ignite.configuration.TransactionConfiguration.isTxSerializableEnabled()
org.apache.ignite.IgniteCache.randomEntry()
org.apache.ignite.internal.processors.cache.GridCacheAdapter.randomEntry()
org.apache.ignite.cache.affinity.AffinityNodeHashResolver.resolve(ClusterNode)
org.apache.ignite.cache.store.CacheStore.sessionEnd(boolean) Use `CacheStoreSessionListener` instead (refer to its JavaDoc for details).
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpiMBean.setConnectionBufferFlushFrequency(long) Not used anymore.
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.setConnectionBufferFlushFrequency(long)
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.setConnectionBufferSize(int) Not used any more.
org.apache.ignite.configuration.FileSystemConfiguration.setFragmentizerLocalWritesRatio(float) Parameter is no longer used.
org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction.setHashIdResolver(AffinityNodeHashResolver) Use `IgniteConfiguration.setConsistentId(Serializable)` instead.
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.setMinimumBufferedMessageCount(int) Not used any more.
org.apache.ignite.configuration.IgniteConfiguration.setNodeId(UUID) Use `IgniteConfiguration.setConsistentId(Serializable)` instead.
org.apache.ignite.configuration.CacheConfiguration.setRebalanceThreadPoolSize(int)
org.apache.ignite.configuration.ConnectorConfiguration.setSslContextFactory(GridSslContextFactory) Use `ConnectorConfiguration.setSslFactory(Factory)` instead.
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.CacheConfiguration.setTypeMetadata(Collection<CacheTypeMetadata>) Use `CacheConfiguration.setQueryEntities(java.util.Collection)` instead.
org.apache.ignite.internal.processors.cache.GridCacheAttributes.transactionManagerLookupClassName() Transaction manager lookup must be configured in `TransactionConfiguration.getTxManagerLookupClassName()`.

Deprecated Constructors
Constructor and Description
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionFullMap(UUID, long, long, Map<UUID, GridDhtPartitionMap2>)

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.5.0.final
Release Date | : December 29 2015