ehcache

Uses of Class
net.sf.ehcache.CacheException

Packages that use CacheException
net.sf.ehcache This package contains the public API for using ehcache. 
net.sf.ehcache.config This package contains the cache configuration code. 
net.sf.ehcache.store Store package. 
 

Uses of CacheException in net.sf.ehcache
 

Subclasses of CacheException in net.sf.ehcache
 class ObjectExistsException
          Thrown when a duplicate cache is attemtpted to be created
 

Methods in net.sf.ehcache that throw CacheException
static CacheManager CacheManager.create()
          A factory method to create a CacheManager with default config.
static CacheManager CacheManager.getInstance()
          A factory method to get an instance ofCacheManager.
static CacheManager CacheManager.create(java.lang.String configurationFileName)
          A factory method to create a CacheManager with a specified configuration.
static CacheManager CacheManager.create(java.net.URL configurationFileURL)
          A factory method to create a CacheManager from an URL.
static CacheManager CacheManager.create(java.io.InputStream inputStream)
          A factory method to create a CacheManager from a java.io.InputStream.
 void CacheManager.addCache(java.lang.String cacheName)
          Use this to add a Cache.
 void CacheManager.addCache(Cache cache)
          Use this to add a Cache.
 Element Cache.get(java.io.Serializable key)
          Gets an element from the cache.
 Element Cache.getQuiet(java.io.Serializable key)
          Gets an element from the cache, without updating Element statistics.
 java.util.List Cache.getKeys()
          Returns a list of all elements in the cache, whether or not they are expired.
 java.util.List Cache.getKeysWithExpiryCheck()
          Returns a list of all elements in the cache.
 int Cache.getSize()
          Gets the size of the cache.
 long Cache.calculateInMemorySize()
          Gets the size of the memory store for this cache

Warning: This method can be very expensive to run.

 

Uses of CacheException in net.sf.ehcache.config
 

Methods in net.sf.ehcache.config that throw CacheException
 Cache Configuration.getDefaultCache()
           
 

Uses of CacheException in net.sf.ehcache.store
 

Methods in net.sf.ehcache.store that throw CacheException
 java.util.Map MemoryStore.loadMapInstance()
          Tries to load a LinkedHashMap (JDK1.4) and then tries to load an LRUMap.
 long MemoryStore.getSizeInBytes()
          Measures the size of the memory store by measuring the serialized size of all elements.
 


ehcache