Deprecated API


Contents
Deprecated Interfaces
com.hazelcast.spi.Callback
           
 

Deprecated Classes
com.hazelcast.config.CacheEvictionConfig
          Use EvictionConfig instead of this 
com.hazelcast.config.CacheEvictionConfigReadOnly
          Use EvictionConfigReadOnly instead of this 
com.hazelcast.internal.management.request.GetLogsRequest
           
com.hazelcast.internal.management.request.GetSystemWarningsRequest
           
com.hazelcast.config.matcher.LegacyMatchingPointConfigPatternMatcher
           
com.hazelcast.config.matcher.LegacyWildcardConfigPatternMatcher
           
 

Deprecated Fields
com.hazelcast.hibernate.CacheEnvironment.CONFIG_FILE_PATH_LEGACY
           
 

Deprecated Methods
com.hazelcast.client.config.ClientConfig.addAddress(String...)
           
com.hazelcast.core.IMap.addEntryListener(EntryListener, boolean)
          use IMap.addEntryListener(MapListener, boolean) instead. 
com.hazelcast.core.IMap.addEntryListener(EntryListener, K, boolean)
          use IMap.addEntryListener(MapListener, Predicate, Object, boolean) instead. 
com.hazelcast.core.IMap.addEntryListener(EntryListener, Predicate, boolean)
          use IMap.addEntryListener(MapListener, Predicate, boolean) instead. 
com.hazelcast.core.IMap.addEntryListener(EntryListener, Predicate, K, boolean)
          use IMap.addEntryListener(MapListener, Object, boolean) 
com.hazelcast.core.IMap.addLocalEntryListener(EntryListener)
          use IMap.addLocalEntryListener(MapListener) instead. 
com.hazelcast.core.IMap.addLocalEntryListener(EntryListener, Predicate, boolean)
          use IMap.addLocalEntryListener(MapListener, com.hazelcast.query.Predicate, boolean) 
com.hazelcast.core.IMap.addLocalEntryListener(EntryListener, Predicate, K, boolean)
          use IMap.addLocalEntryListener(MapListener, com.hazelcast.query.Predicate, boolean) instead 
com.hazelcast.client.config.ClientConfig.addNearCacheConfig(String, NearCacheConfig)
           
com.hazelcast.core.AsyncAtomicReference.asyncSetAndGet(E)
          will be removed from Hazelcast 3.4 since it doesn't really serve a purpose. 
com.hazelcast.spi.OperationService.dumpPerformanceMetrics(StringBuffer)
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.dumpPerformanceMetrics(StringBuffer)
           
com.hazelcast.client.config.ClientConfig.getAddresses()
           
com.hazelcast.spi.InvocationBuilder.getCallback()
           
com.hazelcast.jca.ResourceAdapterImpl.getConfigLocation()
           
com.hazelcast.client.config.ClientConfig.getConnectionAttemptLimit()
           
com.hazelcast.client.config.ClientConfig.getConnectionAttemptPeriod()
           
com.hazelcast.client.config.ClientConfig.getConnectionTimeout()
           
com.hazelcast.core.HazelcastInstance.getDistributedObject(String, Object)
          use HazelcastInstance.getDistributedObject(String, String) instead. 
com.hazelcast.instance.HazelcastInstanceImpl.getDistributedObject(String, Object)
           
com.hazelcast.client.impl.HazelcastClientInstanceImpl.getDistributedObject(String, Object)
           
com.hazelcast.client.impl.HazelcastClientProxy.getDistributedObject(String, Object)
           
com.hazelcast.jca.HazelcastConnectionImpl.getDistributedObject(String, Object)
           
com.hazelcast.spi.OperationService.getExecutedOperationCount()
           
com.hazelcast.spi.OperationService.getGenericOperationThreadCount()
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.getGenericOperationThreadCount()
           
com.hazelcast.core.DistributedObject.getId()
          use DistributedObject.getName() instead 
com.hazelcast.spi.AbstractDistributedObject.getId()
           
com.hazelcast.client.spi.ClientProxy.getId()
           
com.hazelcast.core.Member.getInetSocketAddress()
          use Member.getSocketAddress() instead 
com.hazelcast.core.ILock.getKey()
          use DistributedObject.getName() instead. 
com.hazelcast.concurrent.lock.LockProxy.getKey()
           
com.hazelcast.client.proxy.ClientLockProxy.getKey()
           
com.hazelcast.core.HazelcastInstance.getLock(Object)
          will be removed in Hazelcast 3.2. Use HazelcastInstance.getLock(String) instead. 
com.hazelcast.instance.HazelcastInstanceImpl.getLock(Object)
           
com.hazelcast.client.impl.HazelcastClientInstanceImpl.getLock(Object)
           
com.hazelcast.jca.HazelcastConnectionImpl.getLock(Object)
           
com.hazelcast.config.CacheEvictionConfig.getMaxSizePolicy()
          Use EvictionConfig.getMaximumSizePolicy() instead of this 
com.hazelcast.instance.NodeExtension.getNativeDataStorage()
            
com.hazelcast.spi.OperationService.getOperationExecutorQueueSize()
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.getOperationExecutorQueueSize()
           
com.hazelcast.spi.OperationService.getPartitionOperationThreadCount()
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.getPartitionOperationThreadCount()
           
com.hazelcast.spi.OperationService.getPriorityOperationExecutorQueueSize()
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.getPriorityOperationExecutorQueueSize()
           
com.hazelcast.spi.OperationService.getRemoteOperationsCount()
           
com.hazelcast.spi.OperationService.getResponseQueueSize()
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.getResponseQueueSize()
           
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.getRunningOperationCount()
           
com.hazelcast.spi.OperationService.getRunningOperationsCount()
           
com.hazelcast.web.WebFilter.HazelcastHttpSession.getSessionContext()
           
com.hazelcast.client.config.ClientConfig.getSocketInterceptorConfig()
           
com.hazelcast.client.config.ClientConfig.getSocketOptions()
           
com.hazelcast.config.MultiMapConfig.getSyncBackupCount()
           
com.hazelcast.transaction.TransactionContext.getXaResource()
          since 3.5 please use HazelcastInstance.getXAResource() 
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.isAllowedToRunInCurrentThread(Operation)
           
com.hazelcast.spi.OperationService.isAllowedToRunOnCallingThread(Operation)
          since 3.5 since not needed anymore. 
com.hazelcast.spi.impl.operationexecutor.OperationExecutor.isOperationThread()
          it should not matter if a thread is an operation thread or not; this is something operationExecutor specific. 
com.hazelcast.client.config.ClientConfig.isRedoOperation()
           
com.hazelcast.client.config.ClientConfig.isSmartRouting()
           
com.hazelcast.core.PartitionService.randomPartitionKey()
           
com.hazelcast.nio.serialization.ObjectDataInputStream.readLine()
           
com.hazelcast.spi.OperationService.send(Response, Address)
           
com.hazelcast.client.config.ClientConfig.setAddresses(List)
           
com.hazelcast.core.IAtomicReference.setAndGet(E)
          will be removed from Hazelcast 3.4 since it doesn't really serve a purpose. 
com.hazelcast.spi.InvocationBuilder.setCallback(Callback)
           
com.hazelcast.jca.ResourceAdapterImpl.setConfigLocation(String)
           
com.hazelcast.client.config.ClientConfig.setConnectionAttemptLimit(int)
           
com.hazelcast.client.config.ClientConfig.setConnectionAttemptPeriod(int)
           
com.hazelcast.client.config.ClientConfig.setConnectionTimeout(int)
           
com.hazelcast.config.CacheEvictionConfig.setMaxSizePolicy(CacheEvictionConfig.CacheMaxSizePolicy)
          Use EvictionConfig.setMaximumSizePolicy(MaxSizePolicy) instead of this 
com.hazelcast.client.config.ClientConfig.setRedoOperation(boolean)
           
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)
           
 



Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.