ehcache

Uses of Class
net.sf.ehcache.config.CacheConfiguration

Packages that use CacheConfiguration
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.config.generator This package contains utility classes for generating configuration texts. 
net.sf.ehcache.constructs.blocking Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs. 
net.sf.ehcache.management.sampled This package contains classes related to MBeans with Sampled Statistics. 
net.sf.ehcache.store Store package. 
net.sf.ehcache.writer.writebehind This package contains the write behind functionalities. 
 

Uses of CacheConfiguration in net.sf.ehcache
 

Methods in net.sf.ehcache that return CacheConfiguration
 CacheConfiguration Cache.getCacheConfiguration()
          Gets the cache configuration this cache was created with.
 CacheConfiguration Ehcache.getCacheConfiguration()
          Gets the cache configuration this cache was created with.
 

Methods in net.sf.ehcache with parameters of type CacheConfiguration
 boolean Element.isExpired(CacheConfiguration config)
          An element is expired if the expiration time as given by Element.getExpirationTime() is in the past.
 

Constructors in net.sf.ehcache with parameters of type CacheConfiguration
Cache(CacheConfiguration cacheConfiguration)
          2.0 and higher Constructor

The ConfigurationFactory and clients can create these.

Cache(CacheConfiguration cacheConfiguration, RegisteredEventListeners registeredEventListeners, BootstrapCacheLoader bootstrapCacheLoader)
          2.0 and higher Constructor

The ConfigurationFactory and clients can create these.

 

Uses of CacheConfiguration in net.sf.ehcache.config
 

Methods in net.sf.ehcache.config that return CacheConfiguration
 CacheConfiguration CacheConfiguration.bootstrapCacheLoaderFactory(CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration factory)
           
 CacheConfiguration CacheConfiguration.cacheEventListenerFactory(CacheConfiguration.CacheEventListenerFactoryConfiguration factory)
           
 CacheConfiguration CacheConfiguration.cacheExceptionHandlerFactory(CacheConfiguration.CacheExceptionHandlerFactoryConfiguration factory)
           
 CacheConfiguration CacheConfiguration.cacheExtensionFactory(CacheConfiguration.CacheExtensionFactoryConfiguration factory)
           
 CacheConfiguration CacheConfiguration.cacheLoaderFactory(CacheConfiguration.CacheLoaderFactoryConfiguration factory)
           
 CacheConfiguration CacheConfiguration.cacheWriter(CacheWriterConfiguration cacheWriterConfiguration)
           
 CacheConfiguration CacheConfiguration.clearOnFlush(boolean clearOnFlush)
          Builder which sets whether the MemoryStore should be cleared when flush() is called on the cache - true by default.
 CacheConfiguration CacheConfiguration.clone()
          Clones this object, following the usual contract.
 CacheConfiguration CacheConfiguration.diskAccessStripes(int stripes)
          Builder which sets the number of disk stripes.
 CacheConfiguration CacheConfiguration.diskExpiryThreadIntervalSeconds(long diskExpiryThreadIntervalSeconds)
          Builder which sets the interval in seconds between runs of the disk expiry thread.
 CacheConfiguration CacheConfiguration.diskPersistent(boolean diskPersistent)
          Builder which sets whether the disk store persists between CacheManager instances.
 CacheConfiguration CacheConfiguration.diskSpoolBufferSizeMB(int diskSpoolBufferSizeMB)
          Builder which sets the disk spool size, which is used to buffer writes to the DiskStore.
 CacheConfiguration CacheConfiguration.diskStorePath(java.lang.String diskStorePath)
          Builder which sets the path that will be used for the disk store.
 CacheConfiguration CacheConfiguration.eternal(boolean eternal)
          Builder which sets whether elements are eternal.
 CacheConfiguration Configuration.getDefaultCacheConfiguration()
           
 CacheConfiguration CacheConfiguration.loggingEnabled(boolean enable)
          Builder to enable or disable logging for the cache

This property can be modified dynamically while the cache is operating.

 CacheConfiguration CacheConfiguration.maxElementsInMemory(int maxElementsInMemory)
          Builder that sets the maximum objects to be held in memory (0 = no limit).
 CacheConfiguration CacheConfiguration.maxElementsOnDisk(int maxElementsOnDisk)
          Builder which sets the maximum number elements on Disk.
 CacheConfiguration CacheConfiguration.memoryStoreEvictionPolicy(MemoryStoreEvictionPolicy memoryStoreEvictionPolicy)
          Builder which Sets the eviction policy.
 CacheConfiguration CacheConfiguration.memoryStoreEvictionPolicy(java.lang.String memoryStoreEvictionPolicy)
          Builder that sets the eviction policy.
 CacheConfiguration CacheConfiguration.name(java.lang.String name)
          Builder to set the name of the cache.
 CacheConfiguration CacheConfiguration.overflowToDisk(boolean overflowToDisk)
          Builder which sets whether elements can overflow to disk when the in-memory cache has reached the set limit.
 CacheConfiguration CacheConfiguration.statistics(boolean statistics)
          Builder which sets whether the cache's statistics are enabled.
 CacheConfiguration CacheConfiguration.terracotta(TerracottaConfiguration terracottaConfiguration)
           
 CacheConfiguration CacheConfiguration.timeToIdleSeconds(long timeToIdleSeconds)
          Builder which sets the time to idle for an element before it expires.
 CacheConfiguration CacheConfiguration.timeToLiveSeconds(long timeToLiveSeconds)
          Builder which sets the time to idle for an element before it expires.
 CacheConfiguration CacheConfiguration.transactionalMode(CacheConfiguration.TransactionalMode transactionalMode)
          Builder which sets the transactionalMode
 CacheConfiguration CacheConfiguration.transactionalMode(java.lang.String transactionalMode)
          Builder which sets the transactionalMode
 

Methods in net.sf.ehcache.config that return types with arguments of type CacheConfiguration
 java.util.Map<java.lang.String,CacheConfiguration> Configuration.getCacheConfigurations()
          Gets a Map of cache configurations, keyed by name.
 

Methods in net.sf.ehcache.config with parameters of type CacheConfiguration
 void Configuration.addCache(CacheConfiguration cacheConfiguration)
          Allows BeanHandler to add Cache Configurations to the configuration.
 void Configuration.addDefaultCache(CacheConfiguration defaultCacheConfiguration)
          Allows BeanHandler to add a default configuration to the configuration.
 void CacheConfigurationListener.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void CacheConfigurationListener.registered(CacheConfiguration config)
          Indicates that this listener was registered with the given configuration
 void Configuration.setDefaultCacheConfiguration(CacheConfiguration defaultCacheConfiguration)
           
 

Uses of CacheConfiguration in net.sf.ehcache.config.generator
 

Methods in net.sf.ehcache.config.generator with parameters of type CacheConfiguration
 java.lang.String ConfigurationGenerator.generate(CacheConfiguration cacheConfiguration)
          Generates configuration text for a specific cache using the input CacheConfiguration
 java.lang.String ConfigurationGenerator.generate(Configuration configuration, CacheConfiguration defaultCacheConfiguration, java.util.Map<java.lang.String,CacheConfiguration> cacheConfigs)
          Generates the configuration text for the provided Configuration, the default CacheConfiguration and the map of CacheConfiguration's
 

Method parameters in net.sf.ehcache.config.generator with type arguments of type CacheConfiguration
 java.lang.String ConfigurationGenerator.generate(Configuration configuration, CacheConfiguration defaultCacheConfiguration, java.util.Map<java.lang.String,CacheConfiguration> cacheConfigs)
          Generates the configuration text for the provided Configuration, the default CacheConfiguration and the map of CacheConfiguration's
 

Uses of CacheConfiguration in net.sf.ehcache.constructs.blocking
 

Methods in net.sf.ehcache.constructs.blocking that return CacheConfiguration
 CacheConfiguration BlockingCache.getCacheConfiguration()
          Gets the cache configuration this cache was created with.
 

Uses of CacheConfiguration in net.sf.ehcache.management.sampled
 

Methods in net.sf.ehcache.management.sampled with parameters of type CacheConfiguration
 void SampledCache.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void SampledCache.registered(CacheConfiguration config)
          Indicates that this listener was registered with the given configuration
 

Uses of CacheConfiguration in net.sf.ehcache.store
 

Methods in net.sf.ehcache.store with parameters of type CacheConfiguration
 void MemoryStore.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void DiskStore.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void MemoryStore.registered(CacheConfiguration config)
          Indicates that this listener was registered with the given configuration
 void DiskStore.registered(CacheConfiguration config)
          Indicates that this listener was registered with the given configuration
 

Uses of CacheConfiguration in net.sf.ehcache.writer.writebehind
 

Constructors in net.sf.ehcache.writer.writebehind with parameters of type CacheConfiguration
WriteBehindQueue(CacheConfiguration config)
          Create a new write behind queue.
 


ehcache

true