GemFire 5.7

Deprecated API


Contents
Deprecated Interfaces
com.gemstone.gemfire.cache.util.BridgeServer
          as of 5.7 used CacheServer instead. 
com.gemstone.gemfire.admin.CacheServer
          as of 5.7 use CacheVm instead. 
com.gemstone.gemfire.admin.CacheServerConfig
          as of 5.7 use CacheVmConfig instead. 
com.gemstone.gemfire.admin.SystemMemberBridgeServer
          as of 5.7 use SystemMemberCacheServer instead. 
 

Deprecated Classes
com.gemstone.gemfire.cache.util.BoundedLinkedHashMap
          as of 5.7 create your own class that extends LinkedHashMap and implement LinkedHashMap.removeEldestEntry(java.util.Map.Entry) to enforce a maximum number of entries. 
com.gemstone.gemfire.cache.util.BridgeClient
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.util.BridgeLoader
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.util.BridgeWriter
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.MirrorType
          as of GemFire 5.0, use DataPolicy instead. 
 

Deprecated Exceptions
com.gemstone.gemfire.cache.util.BridgeWriterException
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.util.EndpointDoesNotExistException
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.util.EndpointException
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.util.EndpointExistsException
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.util.EndpointInUseException
          as of 5.7 use pools instead. 
com.gemstone.gemfire.cache.EntryNotFoundInRegion
          this class is no longer in use 
com.gemstone.gemfire.cache.util.ServerRefusedConnectionException
          as of 5.7 use ServerRefusedConnectionException from the client package instead. 
 

Deprecated Fields
com.gemstone.gemfire.admin.SystemMemberType.CACHE_SERVER
          as of 5.7 use SystemMemberType.CACHE_VM instead. 
com.gemstone.gemfire.cache.MirrorType.KEYS
          as of GemFire 5.0, use DataPolicy.REPLICATE instead. 
com.gemstone.gemfire.cache.MirrorType.KEYS_VALUES
          as of GemFire 5.0, use DataPolicy.REPLICATE instead. 
com.gemstone.gemfire.cache.MirrorType.NONE
          as of GemFire 5.0, use DataPolicy.NORMAL instead. 
 

Deprecated Methods
com.gemstone.gemfire.admin.SystemMemberCache.addBridgeServer()
          as of 5.7 use SystemMemberCache.addCacheServer() instead. 
com.gemstone.gemfire.cache.Cache.addBridgeServer()
          as of 5.7 use Cache.addCacheServer() instead. 
com.gemstone.gemfire.admin.AdminDistributedSystem.addCacheServer()
          as of 5.7 use AdminDistributedSystem.addCacheVm() instead. 
com.gemstone.gemfire.admin.AdminDistributedSystemFactory.bindToAddress(String)
          Use DistributedSystemConfig.setBindAddress(java.lang.String) instead. 
com.gemstone.gemfire.admin.DistributedSystemConfig.createCacheServerConfig()
          as of 5.7 use DistributedSystemConfig.createCacheVmConfig() instead. 
com.gemstone.gemfire.cache.AttributesFactory.createRegionAttributes()
          as of GemFire 5.0, use AttributesFactory.create() instead 
com.gemstone.gemfire.admin.SystemMemberCache.createVMRegion(String, RegionAttributes)
          as of GemFire 5.0, use SystemMemberCache.createRegion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes) instead 
com.gemstone.gemfire.cache.Cache.createVMRegion(String, RegionAttributes)
          as of GemFire 5.0, use Cache.createRegion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes) instead. 
com.gemstone.gemfire.cache.Region.entries(boolean)
          Use entrySet(boolean recursive) instead. 
com.gemstone.gemfire.admin.SystemMemberCache.getBridgeServers()
          as of 5.7 use SystemMemberCache.getCacheServers() instead. 
com.gemstone.gemfire.cache.Cache.getBridgeServers()
          as of 5.7 use Cache.getCacheServers() instead. 
com.gemstone.gemfire.cache.RegionAttributes.getCacheListener()
          as of GemFire 5.0, use RegionAttributes.getCacheListeners() instead 
com.gemstone.gemfire.cache.PartitionAttributes.getCacheLoader()
          RegionAttributes.getCacheLoader() should be used, along with the corresponding AttributesFactory.setCacheLoader(com.gemstone.gemfire.cache.CacheLoader) method for establishing the cache loader 
com.gemstone.gemfire.admin.DistributedSystemConfig.getCacheServerConfigs()
          as of 5.7 use DistributedSystemConfig.getCacheVmConfigs() instead. 
com.gemstone.gemfire.admin.AdminDistributedSystem.getCacheServers()
          as of 5.7 use AdminDistributedSystem.getCacheVms() instead. 
com.gemstone.gemfire.admin.CacheServer.getConfig()
          as of 5.7 use CacheVm.getVmConfig() instead. 
com.gemstone.gemfire.cache.TransactionEvent.getCreateEvents()
          as of GemFire 5.0, use TransactionEvent.getEvents() instead 
com.gemstone.gemfire.cache.TransactionEvent.getDestroyEvents()
          as of GemFire 5.0, use TransactionEvent.getEvents() instead 
com.gemstone.gemfire.cache.util.Gateway.getEarlyAck()
          EarlyAck communication is unsafe and no longer supported 
com.gemstone.gemfire.cache.RegionAttributes.getEnableBridgeConflation()
          as of GemFire 5.0, use RegionAttributes.getEnableSubscriptionConflation() instead 
com.gemstone.gemfire.cache.RegionAttributes.getEnableConflation()
          as of GemFire 5.0, use RegionAttributes.getEnableSubscriptionConflation() instead # 
com.gemstone.gemfire.cache.RegionAttributes.getEnableWAN()
          as of GemFire 5.0, use getEnableGateway instead 
com.gemstone.gemfire.cache.Cache.getGatewayHub()
          as of GemFire 5.1, use Cache.getGatewayHubs().get(0) instead. 
com.gemstone.gemfire.cache.PartitionAttributes.getGlobalProperties()
          use PartitionAttributes.getTotalMaxMemory() and PartitionAttributes.getTotalNumBuckets() in GemFire 5.1 and later releases 
com.gemstone.gemfire.distributed.DistributedSystem.getId()
          DistributedSystem.getDistributedMember() provides an identity for this connection that is unique across the entire distributed system. 
com.gemstone.gemfire.cache.TransactionEvent.getInvalidateEvents()
          as of GemFire 5.0, use TransactionEvent.getEvents() instead 
com.gemstone.gemfire.cache.CacheTransactionManager.getListener()
          as of GemFire 5.0, use CacheTransactionManager.getListeners() instead 
com.gemstone.gemfire.cache.PartitionAttributes.getLocalProperties()
          use PartitionAttributes.getLocalMaxMemory() in GemFire 5.1 and later releases 
com.gemstone.gemfire.distributed.DistributedSystem.getMemberId()
          as of GemFire 5.0, use DistributedSystem.getDistributedMember() instead 
com.gemstone.gemfire.admin.SystemMemberRegion.getMirrorType()
          as of 5.0, you should use getDataPolicy instead 
com.gemstone.gemfire.cache.RegionAttributes.getMirrorType()
          as of GemFire 5.0, use RegionAttributes.getDataPolicy() instead. 
com.gemstone.gemfire.cache.RegionAttributes.getPersistBackup()
          as of GemFire 5.0, use DataPolicy.PERSISTENT_REPLICATE instead 
com.gemstone.gemfire.cache.TransactionEvent.getPutEvents()
          as of GemFire 5.0, use TransactionEvent.getEvents() instead 
com.gemstone.gemfire.cache.PartitionAttributes.getTotalSize()
          use getTotalMaxMemory() instead 
com.gemstone.gemfire.cache.EntryEvent.isBridgeEvent()
          as of 5.7 use EntryEvent.hasClientOrigin() instead. 
com.gemstone.gemfire.admin.SystemMemberType.isCacheServer()
          as of 5.7 use SystemMemberType.isCacheVm() instead. 
com.gemstone.gemfire.cache.CacheEvent.isDistributed()
          as of GemFire 5.0, use Operation.isDistributed() instead. 
com.gemstone.gemfire.cache.CacheEvent.isExpiration()
          as of GemFire 5.0, use Operation.isExpiration() instead. 
com.gemstone.gemfire.cache.EntryEvent.isLoad()
          as of GemFire 5.0, use Operation.isLoad() instead. 
com.gemstone.gemfire.cache.EntryEvent.isLocalLoad()
          as of GemFire 5.0, use Operation.isLocalLoad() instead. 
com.gemstone.gemfire.cache.EntryEvent.isNetLoad()
          as of GemFire 5.0, use Operation.isNetLoad() instead. 
com.gemstone.gemfire.cache.EntryEvent.isNetSearch()
          as of GemFire 5.0, use Operation.isNetSearch() instead. 
com.gemstone.gemfire.cache.Region.keys()
          Use keySet instead; 
com.gemstone.gemfire.distributed.DistributedLockService.lockInterruptibly(Object, long, long)
          as of GemFire 5.1, use DistributedLockService.lock(Object, long, long) with waitTimeMillis instead 
com.gemstone.gemfire.cache.util.BridgeLoader.query(String)
          use Region.query(java.lang.String) instead 
com.gemstone.gemfire.DataSerializer.register(Class, byte)
          as of 5.7 use DataSerializer.register(Class) instead 
com.gemstone.gemfire.admin.DistributedSystemConfig.removeCacheServerConfig(CacheServerConfig)
          as of 5.7 use DistributedSystemConfig.removeCacheVmConfig(com.gemstone.gemfire.admin.CacheVmConfig) instead. 
com.gemstone.gemfire.cache.AttributesFactory.setCacheListener(CacheListener)
          as of GemFire 5.0, use AttributesFactory.addCacheListener(com.gemstone.gemfire.cache.CacheListener) instead. 
com.gemstone.gemfire.cache.AttributesMutator.setCacheListener(CacheListener)
          as of GemFire 5.0, use AttributesMutator.addCacheListener(com.gemstone.gemfire.cache.CacheListener) or AttributesMutator.initCacheListeners(com.gemstone.gemfire.cache.CacheListener[]) instead. 
com.gemstone.gemfire.cache.PartitionAttributesFactory.setCacheLoader(CacheLoader)
          AttributesFactory.setCacheLoader(com.gemstone.gemfire.cache.CacheLoader) allows you to establish a cache loader for a partitioned region 
com.gemstone.gemfire.cache.util.Gateway.setEarlyAck(boolean)
          EarlyAck communication is unsafe and no longer supported 
com.gemstone.gemfire.cache.RegionFactory.setEnableBridgeConflation(boolean)
          as of 5.7, use RegionFactory.setEnableSubscriptionConflation(boolean) 
com.gemstone.gemfire.cache.AttributesFactory.setEnableBridgeConflation(boolean)
          as of 5.7 use AttributesFactory.setEnableSubscriptionConflation(boolean) instead. 
com.gemstone.gemfire.cache.RegionFactory.setEnableConflation(boolean)
          as of 5.0, use RegionFactory.setEnableSubscriptionConflation(boolean) 
com.gemstone.gemfire.cache.AttributesFactory.setEnableConflation(boolean)
          as of GemFire 5.0, use AttributesFactory.setEnableSubscriptionConflation(boolean) 
com.gemstone.gemfire.cache.RegionFactory.setEnableSubscriptionConflation(boolean)
          as of 5.7, use RegionFactory.setEnableSubscriptionConflation(boolean) 
com.gemstone.gemfire.cache.RegionFactory.setEnableWAN(boolean)
          as of 5.0, use RegionFactory.setEnableGateway(boolean) 
com.gemstone.gemfire.cache.AttributesFactory.setEnableWAN(boolean)
          as of GemFire 5.0, use AttributesFactory.setEnableGateway(boolean) 
com.gemstone.gemfire.cache.Cache.setGatewayHub(String, int)
          as of GemFire 5.1, use Cache.addGatewayHub(java.lang.String, int) instead. 
com.gemstone.gemfire.cache.PartitionAttributesFactory.setGlobalProperties(Properties)
          use PartitionAttributesFactory.setTotalMaxMemory(long) and PartitionAttributesFactory.setTotalNumBuckets(int) in GemFire 5.1 and later releases 
com.gemstone.gemfire.cache.CacheTransactionManager.setListener(TransactionListener)
          as of GemFire 5.0, use CacheTransactionManager.addListener(com.gemstone.gemfire.cache.TransactionListener) or CacheTransactionManager.initListeners(com.gemstone.gemfire.cache.TransactionListener[]) instead. 
com.gemstone.gemfire.cache.PartitionAttributesFactory.setLocalProperties(Properties)
          use PartitionAttributesFactory.setLocalMaxMemory(int) in GemFire 5.1 and later releases 
com.gemstone.gemfire.cache.AttributesFactory.setMirrorType(MirrorType)
          use AttributesFactory.setDataPolicy(com.gemstone.gemfire.cache.DataPolicy) instead. 
com.gemstone.gemfire.cache.AttributesFactory.setPersistBackup(boolean)
          as of GemFire 5.0, use DataPolicy.PERSISTENT_REPLICATE instead 
com.gemstone.gemfire.distributed.DistributedLockService.suspendLockingInterruptibly(long)
          as of GemFire 5.1, use DistributedLockService.suspendLocking(long) with waitTimeMillis instead 
 

Deprecated Constructors
com.gemstone.gemfire.cache.EntryNotFoundInRegion(String)
          Do not create instances of this class. 
com.gemstone.gemfire.cache.EntryNotFoundInRegion(String, Throwable)
          do not create instances of this class. 
 


GemFire 5.7

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.