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.config.generator.model.elements This package contains utility classes encapsulating ideas of Elements and Attributes from the ehcache.xsd 
net.sf.ehcache.constructs The constructs package builds on top of the core ehcache classes to create implementations for common caching patterns. 
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.store.compound.impl This package contains the various element proxy factory implementations. 
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.copyOnRead(boolean copyOnRead)
          Whether the Cache should copy elements it returns
 CacheConfiguration CacheConfiguration.copyOnWrite(boolean copyOnWrite)
          Whether the Cache should copy elements it gets
 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.logging(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.
 Configuration Configuration.cache(CacheConfiguration cacheConfiguration)
          Builder to add a new cache through its config
 Configuration Configuration.defaultCache(CacheConfiguration defaultCacheConfiguration)
          Builder method to set the default cache configuration, this can only be used once.
 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)
          Deprecated. 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)
          Deprecated. Generates the configuration text for the provided Configuration, the default CacheConfiguration and the map of CacheConfiguration's
static java.lang.String ConfigurationUtil.generateCacheConfigurationText(CacheConfiguration cacheConfiguration)
          Generates configuration text for a CacheConfiguration
 

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)
          Deprecated. Generates the configuration text for the provided Configuration, the default CacheConfiguration and the map of CacheConfiguration's
 

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

Methods in net.sf.ehcache.config.generator.model.elements with parameters of type CacheConfiguration
static void CacheConfigurationElement.addCommonAttributesWithDefaultCache(NodeElement element, CacheConfiguration cacheConfiguration)
          Adds all attributes which are common with the "defaultCache" element in ehcache.xsd
static void CacheConfigurationElement.addCommonChildElementsWithDefaultCache(NodeElement element, CacheConfiguration cacheConfiguration)
          Adds all common child elements with the "defaultCache" element in ehcache.xsd
 

Constructors in net.sf.ehcache.config.generator.model.elements with parameters of type CacheConfiguration
CacheConfigurationElement(NodeElement parent, CacheConfiguration cacheConfiguration)
          Constructor accepting the parent and the CacheConfiguration
DefaultCacheConfigurationElement(NodeElement parent, CacheConfiguration cacheConfiguration)
          Constructor accepting the parent and the CacheConfiguration
 

Uses of CacheConfiguration in net.sf.ehcache.constructs
 

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

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
 

Constructors in net.sf.ehcache.store with parameters of type CacheConfiguration
LegacyStoreWrapper(Store memory, Store disk, RegisteredEventListeners eventListeners, CacheConfiguration config)
          Create a correctly locked store wrapper around the supplied in-memory and on disk stores.
 

Uses of CacheConfiguration in net.sf.ehcache.store.compound.impl
 

Methods in net.sf.ehcache.store.compound.impl with parameters of type CacheConfiguration
 void OverflowToDiskStore.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void MemoryOnlyStore.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void DiskPersistentStore.deregistered(CacheConfiguration config)
          Indicates that this listener was removed from the given configuration
 void OverflowToDiskStore.registered(CacheConfiguration config)
          Indicates that this listener was registered with the given configuration
 void MemoryOnlyStore.registered(CacheConfiguration config)
          Indicates that this listener was registered with the given configuration
 void DiskPersistentStore.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