ehcache

Deprecated API


Contents
Deprecated Interfaces
net.sf.ehcache.store.compound.CopyStrategy
          replaced by ReadWriteCopyStrategy 
 

Deprecated Classes
net.sf.ehcache.config.generator.ConfigurationGenerator
          Use ConfigurationUtil.generateCacheManagerConfigurationText(Configuration) or ConfigurationUtil#generateCacheConfigurationText(CacheConfiguration) instead 
net.sf.ehcache.hibernate.EhCache
           
net.sf.ehcache.hibernate.ccs.EhcacheNonstrictReadWriteCache
           
net.sf.ehcache.hibernate.EhCacheProvider
           
net.sf.ehcache.hibernate.ccs.EhcacheReadOnlyCache
           
net.sf.ehcache.hibernate.ccs.EhcacheReadWriteCache
           
net.sf.ehcache.hibernate.SingletonEhCacheProvider
           
 

Deprecated Fields
net.sf.ehcache.config.TerracottaConfiguration.DEFAULT_CACHE_COHERENT
          since 2.4 Use TerracottaConfiguration.DEFAULT_CONSISTENCY_TYPE instead. 
 

Deprecated Methods
net.sf.ehcache.config.TerracottaConfiguration.coherent(boolean)
          since 2.4 Use TerracottaConfiguration.consistency(Consistency) instead 
net.sf.ehcache.config.generator.ConfigurationGenerator.generate(Configuration, CacheConfiguration)
          use appropriate methods in ConfigurationUtil instead 
net.sf.ehcache.config.generator.ConfigurationGenerator.generate(Configuration, CacheConfiguration, Map)
          use appropriate methods in ConfigurationUtil instead 
net.sf.ehcache.statistics.LiveCacheStatisticsWrapper.getInMemorySize()
          see LiveCacheStatisticsWrapper.getLocalHeapSize() 
net.sf.ehcache.statistics.LiveCacheStatistics.getInMemorySize()
          use LiveCacheStatistics.getLocalHeapSize() 
net.sf.ehcache.statistics.LiveCacheStatisticsImpl.getInMemorySize()
          see LiveCacheStatisticsImpl.getLocalHeapSize() 
net.sf.ehcache.statistics.NullLiveCacheStatisticsData.getInMemorySize()
          see NullLiveCacheStatisticsData.getLocalHeapSize() 
net.sf.ehcache.management.sampled.SampledCache.getInMemorySize()
          use SampledCache.getLocalHeapSize() 
net.sf.ehcache.Ehcache.getKeysNoDuplicateCheck()
          versions since 2.1 do not return duplicates 
net.sf.ehcache.management.CacheConfiguration.getMaxElementsInMemory()
          use CacheConfiguration.getMaxEntriesLocalHeap() 
net.sf.ehcache.management.CacheConfigurationMBean.getMaxElementsInMemory()
          use CacheConfigurationMBean.getMaxEntriesLocalHeap() 
net.sf.ehcache.management.sampled.SampledCacheMBean.getMaxElementsInMemory()
          use SampledCacheMBean.getMaxEntriesLocalHeap() instead 
net.sf.ehcache.config.CacheConfiguration.getMaxElementsInMemory()
          use CacheConfiguration.getMaxEntriesLocalHeap() 
net.sf.ehcache.management.CacheConfiguration.getMaxElementsOnDisk()
          use CacheConfiguration.getMaxEntriesLocalDisk() 
net.sf.ehcache.management.CacheConfigurationMBean.getMaxElementsOnDisk()
          use CacheConfigurationMBean.getMaxEntriesLocalDisk() 
net.sf.ehcache.management.sampled.SampledCacheMBean.getMaxElementsOnDisk()
          use SampledCacheMBean.getMaxEntriesLocalDisk() instead 
net.sf.ehcache.management.CacheConfiguration.getMaxMemoryOffHeapInBytes()
          use CacheConfiguration.getMaxBytesLocalOffHeap() 
net.sf.ehcache.management.CacheConfigurationMBean.getMaxMemoryOffHeapInBytes()
          use CacheConfigurationMBean.getMaxBytesLocalOffHeap() 
net.sf.ehcache.Element.getNextToLastAccessTime()
          The nextToLastAccessTime field is unused since version 1.7, retrieving it will return the lastAccessTime. Use #getLastAccessTime() instead. 
net.sf.ehcache.statistics.LiveCacheStatisticsWrapper.getOffHeapSize()
          see LiveCacheStatisticsWrapper.getLocalOffHeapSize() 
net.sf.ehcache.statistics.LiveCacheStatistics.getOffHeapSize()
          use LiveCacheStatistics.getLocalOffHeapSize() 
net.sf.ehcache.statistics.LiveCacheStatisticsImpl.getOffHeapSize()
          see LiveCacheStatisticsImpl.getLocalOffHeapSize() 
net.sf.ehcache.statistics.NullLiveCacheStatisticsData.getOffHeapSize()
          see NullLiveCacheStatisticsData.getLocalOffHeapSize() 
net.sf.ehcache.management.sampled.SampledCache.getOffHeapSize()
          use SampledCache.getLocalOffHeapSize() 
net.sf.ehcache.statistics.LiveCacheStatisticsWrapper.getOnDiskSize()
          see LiveCacheStatisticsWrapper.getLocalDiskSize() 
net.sf.ehcache.statistics.LiveCacheStatistics.getOnDiskSize()
          use LiveCacheStatistics.getLocalDiskSize() 
net.sf.ehcache.statistics.LiveCacheStatisticsImpl.getOnDiskSize()
          see LiveCacheStatisticsImpl.getLocalDiskSize() 
net.sf.ehcache.statistics.NullLiveCacheStatisticsData.getOnDiskSize()
          see NullLiveCacheStatisticsData.getLocalDiskSize() 
net.sf.ehcache.management.sampled.SampledCache.getOnDiskSize()
          use SampledCache.getLocalDiskSize() 
net.sf.ehcache.Cache.isClusterCoherent()
          use Cache.isClusterBulkLoadEnabled() instead 
net.sf.ehcache.Ehcache.isClusterCoherent()
          Use Ehcache.isClusterBulkLoadEnabled() instead 
net.sf.ehcache.management.sampled.SampledCacheMBean.isClusterCoherent()
          use SampledCacheMBean.isClusterBulkLoadEnabled() instead 
net.sf.ehcache.management.sampled.SampledCache.isClusterCoherent()
          use SampledCache.isClusterBulkLoadEnabled() instead 
net.sf.ehcache.constructs.EhcacheDecoratorAdapter.isClusterCoherent()
          Use EhcacheDecoratorAdapter.isClusterBulkLoadEnabled() instead 
net.sf.ehcache.config.TerracottaConfiguration.isCoherent()
          since 2.4 Use TerracottaConfiguration.getConsistency() instead to query the TerracottaConfiguration.Consistency or Ehcache#isNodeCoherent() to query if the node is coherent 
net.sf.ehcache.Cache.isNodeCoherent()
          use Cache.isNodeBulkLoadEnabled() instead 
net.sf.ehcache.Ehcache.isNodeCoherent()
          Use Ehcache.isNodeBulkLoadEnabled() instead 
net.sf.ehcache.management.sampled.SampledCacheMBean.isNodeCoherent()
          use SampledCacheMBean.isNodeBulkLoadEnabled() instead 
net.sf.ehcache.management.sampled.SampledCache.isNodeCoherent()
          use SampledCache.isNodeBulkLoadEnabled() instead 
net.sf.ehcache.constructs.EhcacheDecoratorAdapter.isNodeCoherent()
          Use EhcacheDecoratorAdapter.isNodeBulkLoadEnabled() instead 
net.sf.ehcache.config.CacheConfiguration.maxElementsInMemory(int)
          use CacheConfiguration.maxEntriesLocalHeap(int) 
net.sf.ehcache.config.TerracottaConfiguration.setCoherent(boolean)
          since 2.4 Use TerracottaConfiguration.setConsistency(Consistency) instead 
net.sf.ehcache.Element.setCreateTime()
          Resetting the creation time is not recommended as of version 1.7 
net.sf.ehcache.management.CacheConfiguration.setMaxElementsInMemory(int)
          use CacheConfiguration.setMaxEntriesLocalHeap(long) 
net.sf.ehcache.management.CacheConfigurationMBean.setMaxElementsInMemory(int)
          use CacheConfigurationMBean.setMaxEntriesLocalHeap(long) 
net.sf.ehcache.config.CacheConfiguration.setMaxElementsInMemory(int)
          use CacheConfiguration.setMaxEntriesLocalHeap(long) 
net.sf.ehcache.management.CacheConfiguration.setMaxElementsOnDisk(int)
          use CacheConfiguration.setMaxEntriesLocalDisk(long) 
net.sf.ehcache.management.CacheConfigurationMBean.setMaxElementsOnDisk(int)
          use CacheConfigurationMBean.setMaxEntriesLocalDisk(long) 
net.sf.ehcache.Cache.setNodeCoherent(boolean)
          use Cache.setNodeBulkLoadEnabled(boolean) instead 
net.sf.ehcache.Ehcache.setNodeCoherent(boolean)
          Use Ehcache.setNodeBulkLoadEnabled(boolean) instead 
net.sf.ehcache.management.sampled.SampledCacheMBean.setNodeCoherent(boolean)
          use SampledCacheMBean.setNodeBulkLoadEnabled(boolean) instead 
net.sf.ehcache.management.sampled.SampledCache.setNodeCoherent(boolean)
          use SampledCache.setNodeBulkLoadEnabled(boolean) instead 
net.sf.ehcache.constructs.EhcacheDecoratorAdapter.setNodeCoherent(boolean)
          Use EhcacheDecoratorAdapter.setNodeBulkLoadEnabled(boolean) instead 
net.sf.ehcache.Cache.waitUntilClusterCoherent()
          use Cache.waitUntilClusterBulkLoadComplete() instead 
net.sf.ehcache.Ehcache.waitUntilClusterCoherent()
          Use Ehcache.waitUntilClusterBulkLoadComplete() instead 
net.sf.ehcache.constructs.EhcacheDecoratorAdapter.waitUntilClusterCoherent()
          Use EhcacheDecoratorAdapter.waitUntilClusterBulkLoadComplete() instead 
 

Deprecated Constructors
net.sf.ehcache.Element(Object, Object, long, long, long, long, long, long)
          The nextToLastAccessTime field is unused since version 1.7, setting it will have no effect. Use #Element(Object, Object, long, long, long, long, long) instead 
 


ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.