GemFire 5.5.1

Deprecated API


Contents
Deprecated Classes
com.gemstone.gemfire.cache.MirrorType
          as of GemFire 5.0, use DataPolicy instead. 
 

Deprecated Exceptions
com.gemstone.gemfire.cache.EntryNotFoundInRegion
          this class is no longer in use 
 

Deprecated Fields
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.AdminDistributedSystemFactory.bindToAddress(String)
          Use DistributedSystemConfig.setBindAddress(java.lang.String) instead. 
com.gemstone.gemfire.cache.AttributesFactory.createRegionAttributes()
          as of GemFire 5.0, use AttributesFactory.create() instead 
com.gemstone.gemfire.cache.Region.createRegionOnServer()
          Use dynamic regions instead. See DynamicRegionFactory for additional details. 
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.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.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.getEnableConflation()
          as of GemFire 5.0, use getEnableBridgeConflation 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.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.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.setEnableConflation(boolean)
          as of 5.0, use RegionFactory.setEnableBridgeConflation(boolean) 
com.gemstone.gemfire.cache.AttributesFactory.setEnableConflation(boolean)
          as of GemFire 5.0, use AttributesFactory.setEnableBridgeConflation(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.5.1

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