ehcache
A B C D E F G H I J K L M N O P Q R S T U V W

A

acceptsEncoding(HttpServletRequest, String) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Checks if request accepts the named encoding.
acceptsGzipEncoding(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Determine whether the user agent accepts GZIP encoding.
acceptsGzipEncoding(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.GzipFilter
Determine whether the user agent accepts GZIP encoding.
acquire() - Method in class net.sf.ehcache.constructs.concurrent.Mutex
Wait (possibly forever) until successful passage.
acquire() - Method in interface net.sf.ehcache.constructs.concurrent.Sync
Wait (possibly forever) until successful passage.
acquireCachePeers(Ehcache) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Acquires the cache peers for this cache.
addBootstrapCacheLoaderFactory(CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration) - Method in class net.sf.ehcache.config.CacheConfiguration
Allows BeanHandler to add the CacheManagerEventListener to the configuration.
addCache(String) - Method in class net.sf.ehcache.CacheManager
Adds a Ehcache based on the defaultCache with the given name.
addCache(Cache) - Method in class net.sf.ehcache.CacheManager
Adds a Cache to the CacheManager.
addCache(JCache) - Method in class net.sf.ehcache.CacheManager
Adds a Cache to the CacheManager.
addCache(Ehcache) - Method in class net.sf.ehcache.CacheManager
Adds an Ehcache to the CacheManager.
addCache(CacheConfiguration) - Method in class net.sf.ehcache.config.Configuration
Allows BeanHandler to add Cache Configurations to the configuration.
addCacheEventListenerFactory(CacheConfiguration.CacheEventListenerFactoryConfiguration) - Method in class net.sf.ehcache.config.CacheConfiguration
Used by BeanUtils to add cacheEventListenerFactory elements to the cache configuration.
addCacheExceptionHandlerFactory(CacheConfiguration.CacheExceptionHandlerFactoryConfiguration) - Method in class net.sf.ehcache.config.CacheConfiguration
Allows BeanHandler to add the CacheExceptionHandlerFactory to the configuration.
addCacheExtensionFactory(CacheConfiguration.CacheExtensionFactoryConfiguration) - Method in class net.sf.ehcache.config.CacheConfiguration
Used by BeanUtils to add cacheExtensionFactory elements to the cache configuration.
addCacheLoaderFactory(CacheConfiguration.CacheLoaderFactoryConfiguration) - Method in class net.sf.ehcache.config.CacheConfiguration
Allows BeanHandler to add the CacheLoaderFactory to the configuration.
addCacheManagerEventListenerFactory(FactoryConfiguration) - Method in class net.sf.ehcache.config.Configuration
Allows BeanHandler to add the CacheManagerEventListener to the configuration.
addCacheManagerPeerListenerFactory(FactoryConfiguration) - Method in class net.sf.ehcache.config.Configuration
Adds a CachePeerProviderFactoryConfiguration.
addCacheManagerPeerProviderFactory(FactoryConfiguration) - Method in class net.sf.ehcache.config.Configuration
Adds a CachePeerProviderFactoryConfiguration.
addCachePeer(String, RMICachePeer) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Package local method for testing
addCookie(Cookie) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Adds a cookie.
addDefaultCache(CacheConfiguration) - Method in class net.sf.ehcache.config.Configuration
Allows BeanHandler to add a default configuration to the configuration.
addDiskStore(DiskStoreConfiguration) - Method in class net.sf.ehcache.config.Configuration
Allows BeanHandler to add disk store location to the configuration.
addGzipHeader(HttpServletResponse) - Static method in class net.sf.ehcache.constructs.web.ResponseUtil
Adds the gzip HTTP header to the response.
addHeader(String, String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Adds a header.
addListener(CacheListener) - Method in class net.sf.ehcache.jcache.JCache
Add a listener to the list of cache listeners.
addToReplicationQueue(RMIAsynchronousCacheReplicator.CacheEventMessage) - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Adds a message to the queue.
alive() - Method in interface net.sf.ehcache.distribution.CacheReplicator
Checks that the replicator is is STATUS_ALIVE.
alive() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Checks that the replicator is is STATUS_ALIVE.
alive() - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Checks that the replicator is is STATUS_ALIVE.
ALL_CACHE_MANAGERS - Static variable in class net.sf.ehcache.CacheManager
Keeps track of all known CacheManagers.
AlreadyCommittedException - Exception in net.sf.ehcache.constructs.web

This exception is thrown if, in particular, the ServletResponse.isCommitted() method shows the response has been committed.

AlreadyCommittedException() - Constructor for exception net.sf.ehcache.constructs.web.AlreadyCommittedException
Constructor for the exception
AlreadyCommittedException(String) - Constructor for exception net.sf.ehcache.constructs.web.AlreadyCommittedException
Constructs an exception with the message given
AlreadyGzippedException - Exception in net.sf.ehcache.constructs.web
The web package performs gzipping operations.
AlreadyGzippedException() - Constructor for exception net.sf.ehcache.constructs.web.AlreadyGzippedException
Constructor for the exception
AlreadyGzippedException(String) - Constructor for exception net.sf.ehcache.constructs.web.AlreadyGzippedException
Constructs an exception with the message given
assembleUrlList(List) - Static method in class net.sf.ehcache.distribution.PayloadUtil
Assembles a list of URLs
assignFreePort(boolean) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Assigns a free port to be the listener port.
asynchronous - Variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Whether to load asynchronously
AsynchronousCommandException - Exception in net.sf.ehcache.constructs.asynchronous
Thrown when an asynchronous command has somehow failed.
AsynchronousCommandException(String) - Constructor for exception net.sf.ehcache.constructs.asynchronous.AsynchronousCommandException
Constructs a new exception with the specified detail message.
AsynchronousCommandException(String, Throwable) - Constructor for exception net.sf.ehcache.constructs.asynchronous.AsynchronousCommandException
Constructs a new exception with the specified detail message and cause.
AsynchronousCommandExecutor - Class in net.sf.ehcache.constructs.asynchronous
Handles the asynchronous execution of commands.
asynchronousLoad(Object, CacheLoader, Object) - Method in class net.sf.ehcache.Cache
Does the asynchronous loading.
asynchronousLoadAll(Collection, Object) - Method in class net.sf.ehcache.Cache
Does the asynchronous loading.
asynchronousReplicationInterval - Variable in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
The amount of time the replication thread sleeps after it detects the replicationQueue is empty before checking again.
attempt(long) - Method in class net.sf.ehcache.constructs.concurrent.Mutex
 
attempt(long) - Method in interface net.sf.ehcache.constructs.concurrent.Sync
Wait at most msecs to pass; report whether passed.
attemptResolutionOfUniqueResourceConflict() - Method in interface net.sf.ehcache.distribution.CacheManagerPeerListener
If a conflict is detected in unique resource use, this method signals the listener to attempt automatic resolution of the resource conflict.
attemptResolutionOfUniqueResourceConflict() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
If a conflict is detected in unique resource use, this method signals the listener to attempt automatic resolution of the resource conflict.
AUTO_DISK_PATH_DIRECTORY_PREFIX - Static variable in class net.sf.ehcache.store.DiskStore
If the CacheManager needs to resolve a conflict with the disk path, it will create a subdirectory in the given disk path with this prefix followed by a number.

B

backedUp() - Method in class net.sf.ehcache.store.DiskStore
In some circumstances data can be written so quickly to the spool that the VM runs out of memory while waiting for the spooling to disk.
backedUp() - Method in class net.sf.ehcache.store.MemoryStore
Memory stores are never backed up and always return false
backedUp() - Method in interface net.sf.ehcache.store.Store
Some store types, such as the disk stores can get backed up when puts come in to fast.
BeanHandler - Class in net.sf.ehcache.config
A SAX handler that configures a bean.
BeanHandler(Object) - Constructor for class net.sf.ehcache.config.BeanHandler
Constructor.
bind(String, RMICachePeer) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Bind a cache peer
BlockingCache - Class in net.sf.ehcache.constructs.blocking
A blocking decorator for an Ehcache, backed by a Ehcache.
BlockingCache(Ehcache) - Constructor for class net.sf.ehcache.constructs.blocking.BlockingCache
Creates a BlockingCache which decorates the supplied cache.
blockingCache - Variable in class net.sf.ehcache.constructs.web.filter.CachingFilter
The cache holding the web pages.
bootstrap() - Method in class net.sf.ehcache.Cache
Bootstrap command.
bootstrap() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Bootstrap command.
bootstrap() - Method in interface net.sf.ehcache.Ehcache
Bootstrap command.
BOOTSTRAP_ASYNCHRONOUSLY - Static variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
The property name expected in ehcache.xml for the bootstrap asyncrhonously switch.
BootstrapCacheLoader - Interface in net.sf.ehcache.bootstrap
 
BootstrapCacheLoaderFactory - Class in net.sf.ehcache.bootstrap
An abstract factory for creating BootstrapCacheLoader instances.
BootstrapCacheLoaderFactory() - Constructor for class net.sf.ehcache.bootstrap.BootstrapCacheLoaderFactory
 
bootstrapCacheLoaderFactoryConfiguration - Variable in class net.sf.ehcache.config.CacheConfiguration
The BootstrapCacheLoaderFactoryConfiguration.
buildCache(String, Properties) - Method in class net.sf.ehcache.hibernate.EhCacheProvider
Builds a Cache.
buildCache(String, Properties) - Method in class net.sf.ehcache.hibernate.SingletonEhCacheProvider
Builds a Cache.
buildPage(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Builds the PageInfo object by passing the request along the filter chain
buildPage(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.PageFragmentCachingFilter
Builds the PageInfo object by passing the request along the filter chain
buildPageInfo(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Build page info either using the cache or building the page directly.

C

Cache - Class in net.sf.ehcache
Cache is the central class in ehcache.
Cache(String, int, boolean, boolean, long, long) - Constructor for class net.sf.ehcache.Cache
1.0 Constructor.
Cache(String, int, boolean, boolean, long, long, boolean, long) - Constructor for class net.sf.ehcache.Cache
1.1 Constructor.
Cache(String, int, MemoryStoreEvictionPolicy, boolean, String, boolean, long, long, boolean, long, RegisteredEventListeners) - Constructor for class net.sf.ehcache.Cache
1.2 Constructor

The ConfigurationFactory and clients can create these.

Cache(String, int, MemoryStoreEvictionPolicy, boolean, String, boolean, long, long, boolean, long, RegisteredEventListeners, BootstrapCacheLoader) - Constructor for class net.sf.ehcache.Cache
1.2.1 Constructor

The ConfigurationFactory and clients can create these.

Cache(String, int, MemoryStoreEvictionPolicy, boolean, String, boolean, long, long, boolean, long, RegisteredEventListeners, BootstrapCacheLoader, int) - Constructor for class net.sf.ehcache.Cache
1.2.4 Constructor

The ConfigurationFactory and clients can create these.

Cache(String, int, MemoryStoreEvictionPolicy, boolean, String, boolean, long, long, boolean, long, RegisteredEventListeners, BootstrapCacheLoader, int, int) - Constructor for class net.sf.ehcache.Cache
1.2.4 Constructor

The ConfigurationFactory and clients can create these.

cache - Variable in class net.sf.ehcache.constructs.blocking.BlockingCache
The backing Cache
Cache - Class in net.sf.ehcache.management
A JMX MBean implementation for Cache
Cache(Ehcache) - Constructor for class net.sf.ehcache.management.Cache
A constructor for JCache.
cache - Variable in class net.sf.ehcache.store.MemoryStore
The cache this store is associated with.
Cache.KeyedFuture - Class in net.sf.ehcache
Used to store a future and the key it is in respect of
Cache.KeyedFuture(Object, Future) - Constructor for class net.sf.ehcache.Cache.KeyedFuture
Full constructor
CacheConfiguration - Class in net.sf.ehcache.config
A value object to represent Cache configuration that can be set by the BeanHandler.
CacheConfiguration() - Constructor for class net.sf.ehcache.config.CacheConfiguration
 
CacheConfiguration - Class in net.sf.ehcache.management
A JMX MBean implementation and decorator to net.sf.ehcache.CacheConfiguration
CacheConfiguration(Ehcache) - Constructor for class net.sf.ehcache.management.CacheConfiguration
Constructs using a backing CacheConfiguration
CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration - Class in net.sf.ehcache.config
Configuration for the BootstrapCacheLoaderFactoryConfiguration.
CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration() - Constructor for class net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration
 
CacheConfiguration.CacheEventListenerFactoryConfiguration - Class in net.sf.ehcache.config
Configuration for the CachePeerListenerFactoryConfiguration.
CacheConfiguration.CacheEventListenerFactoryConfiguration() - Constructor for class net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration
 
CacheConfiguration.CacheExceptionHandlerFactoryConfiguration - Class in net.sf.ehcache.config
Configuration for the BootstrapCacheLoaderFactoryConfiguration.
CacheConfiguration.CacheExceptionHandlerFactoryConfiguration() - Constructor for class net.sf.ehcache.config.CacheConfiguration.CacheExceptionHandlerFactoryConfiguration
 
CacheConfiguration.CacheExtensionFactoryConfiguration - Class in net.sf.ehcache.config
Configuration for the CacheExtensionFactoryConfiguration.
CacheConfiguration.CacheExtensionFactoryConfiguration() - Constructor for class net.sf.ehcache.config.CacheConfiguration.CacheExtensionFactoryConfiguration
 
CacheConfiguration.CacheLoaderFactoryConfiguration - Class in net.sf.ehcache.config
Configuration for the CacheLoaderFactoryConfiguration.
CacheConfiguration.CacheLoaderFactoryConfiguration() - Constructor for class net.sf.ehcache.config.CacheConfiguration.CacheLoaderFactoryConfiguration
 
CacheConfigurationMBean - Interface in net.sf.ehcache.management
A JMX MBean interface for the configuration of a cache
CacheEntryFactory - Interface in net.sf.ehcache.constructs.blocking
Creates objects to populate the cache.
CacheEventListener - Interface in net.sf.ehcache.event
Allows implementers to register callback methods that will be executed when a cache event occurs.
cacheEventListenerConfigurations - Variable in class net.sf.ehcache.config.CacheConfiguration
The event listener factories added by BeanUtils.
CacheEventListenerFactory - Class in net.sf.ehcache.event
An abstract factory for creating listeners.
CacheEventListenerFactory() - Constructor for class net.sf.ehcache.event.CacheEventListenerFactory
 
CacheException - Exception in net.sf.ehcache
A runtime Cache Exception.
CacheException() - Constructor for exception net.sf.ehcache.CacheException
Constructor for the CacheException object.
CacheException(String) - Constructor for exception net.sf.ehcache.CacheException
Constructor for the CacheException object.
CacheException(String, Throwable) - Constructor for exception net.sf.ehcache.CacheException
Constructs a new CacheException with the specified detail message and cause.
CacheException(Throwable) - Constructor for exception net.sf.ehcache.CacheException
Constructs a new CacheException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
CacheExceptionHandler - Interface in net.sf.ehcache.exceptionhandler
A handler which may be registered with an Ehcache, to handle exceptions on Cache operations.
CacheExceptionHandlerFactory - Class in net.sf.ehcache.exceptionhandler
An abstract factory for creating CacheExceptionHandlers at configuration time, in ehcache.xml.
CacheExceptionHandlerFactory() - Constructor for class net.sf.ehcache.exceptionhandler.CacheExceptionHandlerFactory
 
cacheExceptionHandlerFactoryConfiguration - Variable in class net.sf.ehcache.config.CacheConfiguration
The CacheExceptionHandlerFactoryConfiguration.
cacheExists(String) - Method in class net.sf.ehcache.CacheManager
Checks whether a cache of type ehcache exists.
CacheExtension - Interface in net.sf.ehcache.extension
This is a general purpose mechanism to allow generic extensions to a Cache.
cacheExtensionConfigurations - Variable in class net.sf.ehcache.config.CacheConfiguration
The cache extension factories added by BeanUtils.
CacheExtensionFactory - Class in net.sf.ehcache.extension
An abstract factory for creating CacheExtensions.
CacheExtensionFactory() - Constructor for class net.sf.ehcache.extension.CacheExtensionFactory
 
CacheLoader - Interface in net.sf.ehcache.loader
Extends JCache CacheLoader with load methods that take an argument in addition to a key
CacheLoaderFactory - Class in net.sf.ehcache.loader
An abstract factory for creating cache loaders.
CacheLoaderFactory() - Constructor for class net.sf.ehcache.loader.CacheLoaderFactory
 
cacheLoaderFactoryConfiguration - Variable in class net.sf.ehcache.config.CacheConfiguration
The CacheLoaderFactoryConfiguration.
CacheManager - Class in net.sf.ehcache
A container for Ehcaches that maintain all aspects of their lifecycle.
CacheManager(Configuration) - Constructor for class net.sf.ehcache.CacheManager
An constructor for CacheManager, which takes a configuration object, rather than one created by parsing an ehcache.xml file.
CacheManager(String) - Constructor for class net.sf.ehcache.CacheManager
An ordinary constructor for CacheManager.
CacheManager(URL) - Constructor for class net.sf.ehcache.CacheManager
An ordinary constructor for CacheManager.
CacheManager(InputStream) - Constructor for class net.sf.ehcache.CacheManager
An ordinary constructor for CacheManager.
CacheManager() - Constructor for class net.sf.ehcache.CacheManager
Constructor.
cacheManager - Variable in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
The CacheManager this peer provider is associated with.
CacheManager - Class in net.sf.ehcache.management
An MBean implementation for those attributes and operations we wish to expose on net.sf.ehcache.CacheManager.
CacheManager(CacheManager) - Constructor for class net.sf.ehcache.management.CacheManager
Create a management CacheManager
CacheManagerEventListener - Interface in net.sf.ehcache.event
Allows implementers to register callback methods that will be executed when a CacheManager event occurs.
CacheManagerEventListenerFactory - Class in net.sf.ehcache.event
An abstract factory for creating CacheManagerEventListeners.
CacheManagerEventListenerFactory() - Constructor for class net.sf.ehcache.event.CacheManagerEventListenerFactory
 
CacheManagerEventListenerRegistry - Class in net.sf.ehcache.event
Registered listeners for registering and unregistering CacheManagerEventListeners and sending notifications to registrants.
CacheManagerEventListenerRegistry() - Constructor for class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Construct a new registry
CacheManagerMBean - Interface in net.sf.ehcache.management
An MBean interface for those attributes and operations we wish to expose on net.sf.ehcache.CacheManager
CacheManagerPeerListener - Interface in net.sf.ehcache.distribution
A listener for updates, which controls remote cache peers.
CacheManagerPeerListenerFactory - Class in net.sf.ehcache.distribution
An abstract factory for creating cache manager peer listeners.
CacheManagerPeerListenerFactory() - Constructor for class net.sf.ehcache.distribution.CacheManagerPeerListenerFactory
 
CacheManagerPeerProvider - Interface in net.sf.ehcache.distribution
Provides a discovery service to locate CachePeer RMI listener peers for a Cache.
CacheManagerPeerProviderFactory - Class in net.sf.ehcache.distribution
An abstract factory for creating peers.
CacheManagerPeerProviderFactory() - Constructor for class net.sf.ehcache.distribution.CacheManagerPeerProviderFactory
 
CacheMBean - Interface in net.sf.ehcache.management
A management bean for a cache
CachePeer - Interface in net.sf.ehcache.distribution
An interface for a cache peer to which updates are made remotely.
cachePeers - Variable in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
The cache peers.
CacheReplicator - Interface in net.sf.ehcache.distribution
Replicates cache entries to peers of the CacheManager
caches - Variable in class net.sf.ehcache.CacheManager
Caches managed by this manager.
CacheStatistics - Class in net.sf.ehcache.management
A JMX CacheStatistics decorator for an ehcache Statistics class.
CacheStatistics(Ehcache) - Constructor for class net.sf.ehcache.management.CacheStatistics
Constructs an object from an ehcache statistics object
CacheStatisticsMBean - Interface in net.sf.ehcache.management
 
CachingFilter - Class in net.sf.ehcache.constructs.web.filter
An abstract CachingFilter.
CachingFilter() - Constructor for class net.sf.ehcache.constructs.web.filter.CachingFilter
 
calculateDataFileSparseness() - Method in class net.sf.ehcache.store.DiskStore
The design of the layout on the data file means that there will be small gaps created when DiskElements are reused.
calculateHostAddress() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Calculates the host address as the default NICs IP address
calculateInMemorySize() - Method in class net.sf.ehcache.Cache
Gets the size of the memory store for this cache.
calculateInMemorySize() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the size of the memory store for this cache

Warning: This method can be very expensive to run.

calculateInMemorySize() - Method in interface net.sf.ehcache.Ehcache
Gets the size of the memory store for this cache

Warning: This method can be very expensive to run.

calculateKey(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
CachingFilter works off a key.
calculateKey(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter
Pages are cached based on their key.
calculateKey(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.SimplePageFragmentCachingFilter
CachingFilter works off a key.
checkNoReentry(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Check that this caching filter is not being reentered by the same recursively.
ClassLoaderUtil - Class in net.sf.ehcache.util
Keeps all classloading in ehcache consistent.
clear() - Method in class net.sf.ehcache.hibernate.EhCache
Remove all elements in the cache, but leave the cache in a useable state.
clear() - Method in class net.sf.ehcache.jcache.JCache
Removes all mappings from this map (optional operation).
clear() - Method in class net.sf.ehcache.store.MemoryStore
Clears any data structures and places it back to its state when it was first created.
clearAll() - Method in class net.sf.ehcache.CacheManager
Clears the contents of all caches in the CacheManager, but without removing any caches.
clearAll() - Method in class net.sf.ehcache.management.CacheManager
Clears the contents of all caches in the CacheManager, but without removing any caches.
clearAll() - Method in interface net.sf.ehcache.management.CacheManagerMBean
Clears the contents of all caches in the CacheManager, but without removing any caches.
clearCounters() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Clears all event counters
clearStatistics() - Method in class net.sf.ehcache.Cache
Resets statistics counters back to 0.
clearStatistics() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Resets statistics counters back to 0.
clearStatistics() - Method in interface net.sf.ehcache.Ehcache
Resets statistics counters back to 0.
clearStatistics() - Method in class net.sf.ehcache.jcache.JCacheStatistics
Clears the statistic counters to 0 for the associated Cache.
clearStatistics() - Method in class net.sf.ehcache.management.CacheStatistics
Clears the statistic counters to 0 for the associated Cache.
clearStatistics() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
Clears the statistic counters to 0 for the associated Cache.
clearStatistics() - Method in class net.sf.ehcache.Statistics
Clears the statistic counters to 0 for the associated Cache.
clone() - Method in interface net.sf.ehcache.bootstrap.BootstrapCacheLoader
Clones the loader
clone() - Method in class net.sf.ehcache.Cache
Clones a cache.
clone() - Method in class net.sf.ehcache.config.CacheConfiguration
Clones this object, following the usual contract.
clone() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Clones a cache.
clone() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Creates a clone of this listener.
clone() - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Creates a clone of this listener.
clone() - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Clones this loader
clone() - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Creates a clone of this listener.
clone() - Method in interface net.sf.ehcache.Ehcache
Clones a cache.
clone() - Method in class net.sf.ehcache.Element
Clones an Element.
clone() - Method in interface net.sf.ehcache.event.CacheEventListener
Creates a clone of this listener.
clone(Ehcache) - Method in interface net.sf.ehcache.extension.CacheExtension
Creates a clone of this extension.
clone() - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Creates a clone of this listener.
Command - Interface in net.sf.ehcache.constructs.asynchronous
An asynchronous encapsulated command.
CommandNotFoundInCacheException - Exception in net.sf.ehcache.constructs.asynchronous
Thrown if a command id is in the queue but is not in the cache.
CommandNotFoundInCacheException(String) - Constructor for exception net.sf.ehcache.constructs.asynchronous.CommandNotFoundInCacheException
Constructs a new exception with the specified detail message.
CommandNotFoundInCacheException(String, Throwable) - Constructor for exception net.sf.ehcache.constructs.asynchronous.CommandNotFoundInCacheException
Constructs a new exception with the specified detail message and cause.
ConcurrencyUtil - Class in net.sf.ehcache.constructs.concurrent
Various bits of black magic garnered from experts on the concurrency-interest@cs.oswego.edu mailing list.
ConfigurableRMIClientSocketFactory - Class in net.sf.ehcache.distribution
Default socket timeouts are unlikely to be suitable for cache replication.
ConfigurableRMIClientSocketFactory(Integer) - Constructor for class net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory
Construct a new socket factory with the given timeout.
Configuration - Class in net.sf.ehcache.config
A bean, used by BeanUtils, to set configuration from an XML configuration file.
Configuration() - Constructor for class net.sf.ehcache.config.Configuration
Empty constructor, which is used by ConfigurationFactory, and can be also sued programmatically.
ConfigurationFactory - Class in net.sf.ehcache.config
A utility class which configures beans from XML, using reflection.
ConfigurationHelper - Class in net.sf.ehcache.config
The configuration for ehcache.
ConfigurationHelper(CacheManager, Configuration) - Constructor for class net.sf.ehcache.config.ConfigurationHelper
Only Constructor
containsKey(Object) - Method in class net.sf.ehcache.jcache.JCache
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class net.sf.ehcache.store.DiskStore
An unsynchronized and very low cost check to see if a key is in the Store.
containsKey(Object) - Method in class net.sf.ehcache.store.MemoryStore
An unsynchronized check to see if a key is in the Store.
containsKey(Object) - Method in interface net.sf.ehcache.store.Store
A check to see if a key is in the Store.
containsValue(Object) - Method in class net.sf.ehcache.jcache.JCache
Returns true if this map maps one or more keys to the specified value.
contextDestroyed(ServletContextEvent) - Method in class net.sf.ehcache.constructs.web.ShutdownListener
Notification that the servlet context is about to be shut down.
contextInitialized(ServletContextEvent) - Method in class net.sf.ehcache.constructs.web.ShutdownListener
Notification that the web application is ready to process requests.
convertIntToStatus(int) - Static method in class net.sf.ehcache.Status
 
countCachedPublishCommands() - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
 
create() - Static method in class net.sf.ehcache.CacheManager
A factory method to create a singleton CacheManager with default config, or return it if it exists.
create(String) - Static method in class net.sf.ehcache.CacheManager
A factory method to create a singleton CacheManager with a specified configuration.
create(URL) - Static method in class net.sf.ehcache.CacheManager
A factory method to create a singleton CacheManager from an URL.
create(InputStream) - Static method in class net.sf.ehcache.CacheManager
A factory method to create a singleton CacheManager from a java.io.InputStream.
create(Ehcache, Store) - Static method in class net.sf.ehcache.store.MemoryStore
A factory method to create a MemoryStore.
createAutomaticallyConfiguredCachePeerProvider(CacheManager, Properties) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory
peerDiscovery=automatic, multicastGroupAddress=230.0.0.1, multicastGroupPort=4446, multicastPacketTimeToLive=255
createBootstrapCacheLoader(Properties) - Method in class net.sf.ehcache.bootstrap.BootstrapCacheLoaderFactory
Create a BootstrapCacheLoader
createBootstrapCacheLoader(CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration) - Method in class net.sf.ehcache.config.ConfigurationHelper
Tries to load a BootstrapCacheLoader from the class specified.
createBootstrapCacheLoader(Properties) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
Create a BootstrapCacheLoader
createCache(CacheConfiguration) - Method in class net.sf.ehcache.config.ConfigurationHelper
Create a cache given a cache configuration
createCache(Map) - Method in class net.sf.ehcache.jcache.JCacheFactory
Creates a new implementation specific Cache object using the environment parameters.
createCacheEventListener(Properties) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
Create a CacheEventListener
createCacheEventListener(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Create a CacheEventListener which is also a CacheReplicator.
createCacheEventListener(Properties) - Method in class net.sf.ehcache.event.CacheEventListenerFactory
Create a CacheEventListener
createCacheExceptionHandler(CacheConfiguration.CacheExceptionHandlerFactoryConfiguration) - Method in class net.sf.ehcache.config.ConfigurationHelper
Tries to create a CacheLoader from the configuration using the factory specified.
createCacheExtension(Ehcache, Properties) - Method in class net.sf.ehcache.extension.CacheExtensionFactory
 
createCacheFromName(String) - Method in class net.sf.ehcache.config.ConfigurationHelper
Creates a cache from configuration where the configuration cache name matches the given name
createCacheLoader(CacheConfiguration.CacheLoaderFactoryConfiguration) - Method in class net.sf.ehcache.config.ConfigurationHelper
Tries to create a CacheLoader from the configuration using the factory specified.
createCacheLoader(Map) - Method in class net.sf.ehcache.loader.CacheLoaderFactory
Creates a CacheLoader using the JSR107 creational mechanism.
createCacheLoader(Properties) - Method in class net.sf.ehcache.loader.CacheLoaderFactory
Creates a CacheLoader using the Ehcache configuration mechanism at the time the associated cache is created.
createCacheManagerEventListener() - Method in class net.sf.ehcache.config.ConfigurationHelper
Tries to load the class specified.
createCacheManagerEventListener(Properties) - Method in class net.sf.ehcache.event.CacheManagerEventListenerFactory
Create a CacheEventListener
createCachePeerListener() - Method in class net.sf.ehcache.config.ConfigurationHelper
Tries to load the class specified otherwise defaults to null
createCachePeerListener(CacheManager, Properties) - Method in class net.sf.ehcache.distribution.CacheManagerPeerListenerFactory
Creates a peer provider.
createCachePeerListener(CacheManager, Properties) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory
 
createCachePeerProvider() - Method in class net.sf.ehcache.config.ConfigurationHelper
Tries to load the class specified otherwise defaults to null
createCachePeerProvider(CacheManager, Properties) - Method in class net.sf.ehcache.distribution.CacheManagerPeerProviderFactory
Create a peer provider.
createCachePeerProvider(CacheManager, Properties) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory
Create a peer provider.
createCachePeerProvider(CacheManager, Properties) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory
 
createCaches() - Method in class net.sf.ehcache.config.ConfigurationHelper
Creates unitialised caches for each cache configuration found
createDefaultCache() - Method in class net.sf.ehcache.config.ConfigurationHelper
 
createDiskStore() - Method in class net.sf.ehcache.Cache
Creates a disk store when either: overflowToDisk is enabled diskPersistent is enabled
createEntry(Object) - Method in interface net.sf.ehcache.constructs.blocking.CacheEntryFactory
Creates the cacheEntry for the given cache key.
createExceptionHandler(Properties) - Method in class net.sf.ehcache.exceptionhandler.CacheExceptionHandlerFactory
Create an CacheExceptionHandler
createManuallyConfiguredCachePeerProvider(Properties) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory
peerDiscovery=manual, rmiUrls=//hostname:port/cacheName //hostname:port/cacheName //hostname:port/cacheName
createNewInstance(String) - Static method in class net.sf.ehcache.util.ClassLoaderUtil
Creates a new class instance.
createObjectName(String, String) - Static method in class net.sf.ehcache.management.Cache
Creates an object name using the scheme "net.sf.ehcache:type=Cache,CacheManager=,name="
createObjectName(String, String) - Static method in class net.sf.ehcache.management.CacheConfiguration
Creates an object name using the scheme "net.sf.ehcache:type=CacheConfiguration,CacheManager=,name="
createObjectName(CacheManager) - Static method in class net.sf.ehcache.management.CacheManager
Creates an object name using the scheme "net.sf.ehcache:type=CacheManager,name="
createObjectName(String, String) - Static method in class net.sf.ehcache.management.CacheStatistics
Creates an object name using the scheme "net.sf.ehcache:type=CacheStatistics,CacheManager=,name="
createProxy(Ehcache) - Static method in class net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
A simple factory method to hide the messiness of creating the proxy from clients.
createSocket(String, int) - Method in class net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory
Create a client socket connected to the specified host and port.

D

DEFAULT_ASYNC_INTERVAL - Static variable in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Teh default interval for async cache replication
DEFAULT_ASYNCHRONOUS_REPLICATION_INTERVAL_MILLIS - Static variable in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
A default for the amount of time the replication thread sleeps after it detects the replicationQueue is empty before checking again.
DEFAULT_CACHE_NAME - Static variable in class net.sf.ehcache.Cache
A reserved word for cache names.
DEFAULT_DISPATCHER_THREAD_INTERVAL_SECONDS - Static variable in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
The dispatcher thread interval.
DEFAULT_EXPIRY_THREAD_INTERVAL_SECONDS - Static variable in class net.sf.ehcache.Cache
The default interval between runs of the expiry thread.
DEFAULT_MAXIMUM_CHUNK_SIZE_BYTES - Static variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
The default maximum serialized size of the elements to request from a remote cache peer during bootstrap.
DEFAULT_SOCKET_TIMEOUT_MILLIS - Static variable in class net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory
The default timeout for cache replication for a single replication action.
destroy() - Method in class net.sf.ehcache.constructs.web.filter.Filter
Destroys the filter.
destroy() - Method in class net.sf.ehcache.hibernate.EhCache
Remove the cache and make it unuseable.
diskExpiryThreadIntervalSeconds - Variable in class net.sf.ehcache.config.CacheConfiguration
The interval in seconds between runs of the disk expiry thread.
diskPersistent - Variable in class net.sf.ehcache.config.CacheConfiguration
For caches that overflow to disk, whether the disk cache persists between CacheManager instances.
diskSpoolBufferSizeMB - Variable in class net.sf.ehcache.config.CacheConfiguration
The size of the disk spool used to buffer writes
DiskStore - Class in net.sf.ehcache.store
A disk store implementation.
DiskStore(Ehcache, String) - Constructor for class net.sf.ehcache.store.DiskStore
Creates a disk store.
diskStore - Variable in class net.sf.ehcache.store.MemoryStore
The DiskStore associated with this MemoryStore.
DiskStoreConfiguration - Class in net.sf.ehcache.config
A class to represent DiskStore configuration e.g.
DiskStoreConfiguration() - Constructor for class net.sf.ehcache.config.DiskStoreConfiguration
 
dispose() - Method in class net.sf.ehcache.Cache
Starts an orderly shutdown of the Cache.
dispose() - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
ehcache also has a shutdown hook, so it will save all to disk.
dispose() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Flushes all cache items from memory to auxilliary caches and close the auxilliary caches.
dispose() - Method in interface net.sf.ehcache.distribution.CacheManagerPeerProvider
Providers may be doing all sorts of exotic things and need to be able to clean up on dispose.
dispose() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Providers may be doing all sorts of exotic things and need to be able to clean up on dispose.
dispose() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Give the listener a chance to cleanup and free resources when no longer needed
dispose() - Method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver
Shutdown the heartbeat.
dispose() - Method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
Shutdown this heartbeat sender
dispose() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
Shutdown the heartbeat
dispose() - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Give the replicator a chance to flush the replication queue, then cleanup and free resources when no longer needed
dispose() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Stop the listener.
dispose() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Providers may be doing all sorts of exotic things and need to be able to clean up on dispose.
dispose() - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Give the replicator a chance to cleanup and free resources when no longer needed
dispose() - Method in interface net.sf.ehcache.Ehcache
Flushes all cache items from memory to auxilliary caches and close the auxilliary caches.
dispose() - Method in interface net.sf.ehcache.event.CacheEventListener
Give the listener a chance to cleanup and free resources when no longer needed
dispose() - Method in interface net.sf.ehcache.event.CacheManagerEventListener
Stop the listener and free any resources.
dispose() - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Tell listeners to dispose themselves.
dispose() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Tell listeners to dispose themselves.
dispose() - Method in interface net.sf.ehcache.extension.CacheExtension
Providers may be doing all sorts of exotic things and need to be able to clean up on dispose.
dispose() - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Give the listener a chance to cleanup and free resources when no longer needed.
dispose() - Method in class net.sf.ehcache.management.ManagementService
Stop the listener and free any resources.
dispose() - Method in class net.sf.ehcache.store.DiskStore
Shuts down the disk store in preparation for cache shutdown

If a VM crash happens, the shutdown hook will not run.

dispose() - Method in class net.sf.ehcache.store.MemoryStore
Prepares for shutdown.
dispose() - Method in interface net.sf.ehcache.store.Store
Prepares for shutdown.
disposeRMICachePeer(RMICachePeer) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
A template method to dispose an individual RMICachePeer.
doCreateCachePeerListener(String, Integer, Integer, CacheManager, Integer) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory
A template method to actually create the factory
doDestroy() - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Destroys the filter.
doDestroy() - Method in class net.sf.ehcache.constructs.web.filter.Filter
A template method that performs any Filter specific destruction tasks.
doDestroy() - Method in class net.sf.ehcache.constructs.web.filter.GzipFilter
A template method that performs any Filter specific destruction tasks.
doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Performs the filtering for a request.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Performs the filtering.
doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.Filter
A template method that performs the filtering for a request.
doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.GzipFilter
Performs the filtering for a request.
doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class net.sf.ehcache.constructs.web.filter.PageFragmentCachingFilter
Performs the filtering for a request.
doInit(FilterConfig) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Initialises blockingCache to use.
doInit(FilterConfig) - Method in class net.sf.ehcache.constructs.web.filter.Filter
A template method that performs any Filter specific initialisation tasks.
doInit(FilterConfig) - Method in class net.sf.ehcache.constructs.web.filter.GzipFilter
Performs initialisation.
doLoad(Ehcache) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Bootstraps the cache from a random CachePeer.
doPut(Element) - Method in class net.sf.ehcache.store.FifoMemoryStore
Allow specialised actions over adding the element to the map
doPut(Element) - Method in class net.sf.ehcache.store.LfuMemoryStore
Puts an element into the cache.
doPut(Element) - Method in class net.sf.ehcache.store.MemoryStore
Allow specialised actions over adding the element to the map.

E

Ehcache - Interface in net.sf.ehcache
An interface for Ehcache.
EhCache - Class in net.sf.ehcache.hibernate
EHCache plugin for Hibernate.
EhCache(Ehcache) - Constructor for class net.sf.ehcache.hibernate.EhCache
Creates a new Hibernate pluggable cache by name.
EhCacheProvider - Class in net.sf.ehcache.hibernate
Cache Provider plugin for Hibernate 3.2 and ehcache-1.2.
EhCacheProvider() - Constructor for class net.sf.ehcache.hibernate.EhCacheProvider
 
ehcaches - Variable in class net.sf.ehcache.CacheManager
Ehcaches managed by this manager.
Element - Class in net.sf.ehcache
A Cache Element, consisting of a key, value and attributes.
Element(Serializable, Serializable, long) - Constructor for class net.sf.ehcache.Element
A full constructor.
Element(Object, Object, long) - Constructor for class net.sf.ehcache.Element
A full constructor.
Element(Object, Object, long, long, long, long, long, long) - Constructor for class net.sf.ehcache.Element
Constructor.
Element(Object, Object, boolean, int, int) - Constructor for class net.sf.ehcache.Element
Web Services specific constructor
Element(Serializable, Serializable) - Constructor for class net.sf.ehcache.Element
Constructor.
Element(Object, Object) - Constructor for class net.sf.ehcache.Element
Constructor.
ENABLE_SHUTDOWN_HOOK_PROPERTY - Static variable in class net.sf.ehcache.CacheManager
System property to enable creation of a shutdown hook for CacheManager.
encodeRedirectUrl(String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Override the deprecated method and call non-deprecated method
encodeUrl(String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Override the deprecated method and call non-deprecated method
endElement(String, String, String) - Method in class net.sf.ehcache.config.BeanHandler
Receive notification of the end of an element.
entrySet() - Method in class net.sf.ehcache.jcache.JCache
Returns a set view of the mappings contained in this map.
equals(Object) - Method in class net.sf.ehcache.Cache
An equals method which follows the contract of Object.equals(Object)

An Cache is equal to another one if it implements Ehcache and has the same GUID.

equals(Object) - Method in class net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory
The standard hashCode method which is necessary for SocketFactory classes.
equals(Object) - Method in class net.sf.ehcache.Element
Equals comparison with another element, based on the key.
equals(Object) - Method in class net.sf.ehcache.Status
Indicates whether some other object is "equal to" this one.
equals(Status) - Method in class net.sf.ehcache.Status
Equality checker when the comparison object is of the same type.
eternal - Variable in class net.sf.ehcache.config.CacheConfiguration
Sets whether elements are eternal.
EventMessage - Class in net.sf.ehcache.distribution
An Event Message, in respect of a particular cache.
EventMessage(int, Serializable, Element) - Constructor for class net.sf.ehcache.distribution.EventMessage
Full constructor.
evict() - Method in class net.sf.ehcache.jcache.JCache
The evict method will remove objects from the cache that are no longer valid.
evict(Element) - Method in class net.sf.ehcache.store.MemoryStore
Evict the Element.
evictExpiredElements() - Method in class net.sf.ehcache.Cache
Causes all elements stored in the Cache to be synchronously checked for expiry, and if expired, evicted.
evictExpiredElements() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Causes all elements stored in the Cache to be synchronously checked for expiry, and if expired, evicted.
evictExpiredElements() - Method in interface net.sf.ehcache.Ehcache
Causes all elements stored in the Cache to be synchronously checked for expiry, and if expired, evicted.
ExceptionHandlingDynamicCacheProxy - Class in net.sf.ehcache.exceptionhandler
A dynamic proxy which provides CacheException handling.
ExceptionHandlingDynamicCacheProxy(Ehcache) - Constructor for class net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
Constructor: Use with something like:
exceptionsToLogDifferently - Variable in class net.sf.ehcache.constructs.web.filter.Filter
The exceptions to log differently, as a comma separated list
exceptionsToLogDifferentlyLevel - Variable in class net.sf.ehcache.constructs.web.filter.Filter
A the level of the exceptions which will be logged differently
execute() - Method in interface net.sf.ehcache.constructs.asynchronous.Command
Executes the command.
expireElements() - Method in class net.sf.ehcache.store.DiskStore
Removes expired elements.
expireElements() - Method in class net.sf.ehcache.store.MemoryStore
Expire all elsments.
expireElements() - Method in interface net.sf.ehcache.store.Store
Expire all elements.
extractAndLogProperty(String, Properties) - Static method in class net.sf.ehcache.util.PropertyUtil
 
extractAndLogProperty(String, Map) - Static method in class net.sf.ehcache.util.PropertyUtil
 
extractAsynchronousReplicationIntervalMillis(Properties, String, long) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
Extract a long out of a string.
extractBooleanProperty(Properties, String, boolean) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
Extract a Boolean out of a Property
extractBootstrapAsynchronously(Properties) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
Extracts the value of bootstrapAsynchronously from the properties
extractCacheName(String) - Static method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Gets the cache name out of the url
extractKey(String) - Static method in class net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
Extracts the key from the message, if any
extractMaximumChunkSizeBytes(Properties) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
 
extractPropertyTokens(String) - Static method in class net.sf.ehcache.config.ConfigurationFactory
Extracts properties of the form ${...}
extractReplicateAsynchronously(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Extracts the value of replicateAsynchronously from the properties
extractReplicatePuts(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Extracts the value of replicatePuts from the properties
extractReplicateRemovals(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Extracts the value of replicateRemovals from the properties
extractReplicateUpdates(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Extracts the value of replicateUpdates from the properties
extractReplicateUpdatesViaCopy(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Extracts the value of replicateUpdatesViaCopy from the properties
extractReplicationIntervalMilis(Properties) - Method in class net.sf.ehcache.distribution.RMICacheReplicatorFactory
Extracts the value of asynchronousReplicationIntervalMillis.

F

factory - Variable in class net.sf.ehcache.constructs.blocking.SelfPopulatingCache
A factory for creating entries, given a key
FactoryConfiguration - Class in net.sf.ehcache.config
A class to represent the CacheManagerEventListener configuration.
FactoryConfiguration() - Constructor for class net.sf.ehcache.config.FactoryConfiguration
 
fetchAndPutElements(Ehcache, List, CachePeer) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Fetches a chunk of elements from a remote cache peer
FIFO - Static variable in class net.sf.ehcache.store.MemoryStoreEvictionPolicy
FIFO - first in first out, the oldest element by creation time.
FifoMemoryStore - Class in net.sf.ehcache.store
First-In-First-Out (FIFO) implementation of MemoryStore.
FifoMemoryStore(Ehcache, Store) - Constructor for class net.sf.ehcache.store.FifoMemoryStore
Constructor for the FifoMemoryStore object.
Filter - Class in net.sf.ehcache.constructs.web.filter
A generic Filter with most of what we need done.
Filter() - Constructor for class net.sf.ehcache.constructs.web.filter.Filter
 
filterConfig - Variable in class net.sf.ehcache.constructs.web.filter.Filter
The filter configuration.
FilterNonReentrantException - Exception in net.sf.ehcache.constructs.web.filter
Thrown when it is detected that a caching filter's Filter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) method is reentered by the same thread.
FilterNonReentrantException() - Constructor for exception net.sf.ehcache.constructs.web.filter.FilterNonReentrantException
Constructor for the exception
FilterNonReentrantException(String) - Constructor for exception net.sf.ehcache.constructs.web.filter.FilterNonReentrantException
Constructs an exception with the message given
filterNotDisabled(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Filters can be disabled programmatically by adding a Filter.NO_FILTER parameter to the request.
FilterServletOutputStream - Class in net.sf.ehcache.constructs.web.filter
A custom ServletOutputStream for use by our filters
FilterServletOutputStream(OutputStream) - Constructor for class net.sf.ehcache.constructs.web.filter.FilterServletOutputStream
Creates a FilterServletOutputStream.
findRelativelyUnused(Element) - Method in class net.sf.ehcache.store.LfuMemoryStore
Find a "relatively" unused element, but not the element just added.
FIVE_KB - Static variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
The lowest reasonable chunk size in bytes
flush() - Method in class net.sf.ehcache.Cache
Flushes all cache items from memory to the disk store, and from the DiskStore to disk.
flush() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Flushes all cache items from memory to the disk store, and from the DiskStore to disk.
flush() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Flushes all the streams for this response.
flush() - Method in interface net.sf.ehcache.Ehcache
Flushes all cache items from memory to the disk store, and from the DiskStore to disk.
flush() - Method in class net.sf.ehcache.management.Cache
Flushes all cache items from memory to the disk store, and from the DiskStore to disk.
flush() - Method in interface net.sf.ehcache.management.CacheMBean
Flushes all cache items from memory to the disk store, and from the DiskStore to disk.
flush() - Method in class net.sf.ehcache.store.DiskStore
Flush the spool if persistent, so we don't lose any data.
flush() - Method in class net.sf.ehcache.store.MemoryStore
Flush to disk only if the cache is diskPersistent.
flush() - Method in interface net.sf.ehcache.store.Store
Flush elements to persistent store.
flushBuffer() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Flushes buffer and commits response to client.
fromString(String) - Static method in class net.sf.ehcache.store.MemoryStoreEvictionPolicy
Converts a string representation of the policy into a policy.
fullyQualifiedClassPath - Variable in class net.sf.ehcache.config.FactoryConfiguration
class name.

G

generateRandomSample(int) - Static method in class net.sf.ehcache.store.LfuPolicy
Generates a random sample from a population
generateUniqueDirectory() - Static method in class net.sf.ehcache.store.DiskStore
Generates a unique directory name for use in automatically creating a diskStorePath where there is a conflict.
generateUniqueIdentifier() - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Generates an ID that is guaranteed to be unique for all VM invocations on a machine with a given IP address.
GenericResponseWrapper - Class in net.sf.ehcache.constructs.web
Provides a wrapper for HttpServletResponseWrapper.
GenericResponseWrapper(HttpServletResponse, OutputStream) - Constructor for class net.sf.ehcache.constructs.web.GenericResponseWrapper
Creates a GenericResponseWrapper
get(Serializable) - Method in class net.sf.ehcache.Cache
Gets an element from the cache.
get(Object) - Method in class net.sf.ehcache.Cache
Gets an element from the cache.
get(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Looks up an entry.
get(Serializable) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets an element from the cache.
get(Object) - Method in class net.sf.ehcache.constructs.blocking.SelfPopulatingCache
Looks up an entry.
get(Object) - Method in class net.sf.ehcache.constructs.blocking.UpdatingSelfPopulatingCache
Looks up an object.
get(Serializable) - Method in interface net.sf.ehcache.Ehcache
Gets an element from the cache.
get(Object) - Method in interface net.sf.ehcache.Ehcache
Gets an element from the cache.
get(Object) - Method in class net.sf.ehcache.hibernate.EhCache
Gets a value of an element which matches the given key.
get(Object) - Method in class net.sf.ehcache.jcache.JCache
The get method will return, from the cache, the object associated with the argument "key".
get(Object, Object) - Method in class net.sf.ehcache.jcache.JCache
Same as JCache.get(Object) except a CacheLoader argument is provided.
get(Object, CacheLoader) - Method in class net.sf.ehcache.jcache.JCache
The get method will return, from the cache, the object associated with the argument "key".
get(Object, CacheLoader, Object) - Method in class net.sf.ehcache.jcache.JCache
The get method will return, from the cache, the object associated with the argument "key".
get(Object) - Method in class net.sf.ehcache.store.DiskStore
Gets an Element from the Disk Store.
get(Object) - Method in class net.sf.ehcache.store.MemoryStore
Gets an item from the cache.
get(Object) - Method in interface net.sf.ehcache.store.Store
Gets an item from the cache.
getAll(Collection) - Method in class net.sf.ehcache.jcache.JCache
The getAll method will return, from the cache, a Map of the objects associated with the Collection of keys in argument "keys".
getAll(Collection, Object) - Method in class net.sf.ehcache.jcache.JCache
The getAll method will return, from the cache, a Map of the objects associated with the Collection of keys in argument "keys".
getAllWithLoader(Collection, Object) - Method in class net.sf.ehcache.Cache
Warning: This method is related to the JSR107 specification, which is in draft.
getAllWithLoader(Collection, Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
This method is not appropriate to use with BlockingCache.
getAllWithLoader(Collection, Object) - Method in interface net.sf.ehcache.Ehcache
Warning: This method is related to the JSR107 specification, which is in draft.
getAssociatedCache() - Method in class net.sf.ehcache.Statistics
 
getAssociatedCacheName() - Method in class net.sf.ehcache.management.CacheStatistics
 
getAssociatedCacheName() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
 
getAssociatedCacheName() - Method in class net.sf.ehcache.Statistics
 
getAsynchronousReplicationInterval() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Get the time interval is ms between asynchronous replication
getAverageGetTime() - Method in class net.sf.ehcache.Cache
The average get time in ms.
getAverageGetTime() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
The average get time in ms.
getAverageGetTime() - Method in interface net.sf.ehcache.Ehcache
The average get time in ms.
getAverageGetTime() - Method in class net.sf.ehcache.jcache.JCacheStatistics
The average time for cache gets since either the cache was created or statistics were cleared
getAverageGetTime() - Method in class net.sf.ehcache.Statistics
The average get time.
getBackingCache() - Method in class net.sf.ehcache.hibernate.EhCache
Package protected method used for testing
getBackingCache() - Method in class net.sf.ehcache.jcache.JCache
Gets the backing Ehcache
getBackingMap() - Method in class net.sf.ehcache.store.MemoryStore
Package local access to the map for testing
getBootstrapCacheLoader() - Method in class net.sf.ehcache.Cache
Accessor for the BootstrapCacheLoader associated with this cache.
getBootstrapCacheLoader() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Accessor for the BootstrapCacheLoader associated with this cache.
getBootstrapCacheLoader() - Method in interface net.sf.ehcache.Ehcache
Accessor for the BootstrapCacheLoader associated with this cache.
getBootstrapCacheLoaderFactoryConfiguration() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getBoundCacheInstance() - Method in class net.sf.ehcache.distribution.RMICachePeer
Gets the cache instance that this listener is bound to
getBoundCachePeers() - Method in interface net.sf.ehcache.distribution.CacheManagerPeerListener
All of the caches which are listenting for remote changes.
getBoundCachePeers() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
All of the caches which are listening for remote changes.
getBytes() - Method in class net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream
Gets the bytes.
getCache(String) - Method in class net.sf.ehcache.CacheManager
Returns a concrete implementation of Cache, it it is available in the CacheManager.
getCache() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Retrieve the EHCache backing cache
getCache() - Method in class net.sf.ehcache.distribution.jgroups.JGroupEventMessage
 
getCache() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
getCache(String) - Method in class net.sf.ehcache.management.CacheManager
Returns a JMX Cache bean
getCache(String) - Method in interface net.sf.ehcache.management.CacheManagerMBean
Returns a JMX Cache bean
getCacheConfiguration() - Method in class net.sf.ehcache.Cache
Gets the cache configuration this cache was created with.
getCacheConfiguration() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the cache configuration this cache was created with.
getCacheConfiguration() - Method in interface net.sf.ehcache.Ehcache
Gets the cache configuration this cache was created with.
getCacheConfiguration() - Method in class net.sf.ehcache.management.Cache
Gets the JMX read-only CacheConfiguration
getCacheConfiguration() - Method in interface net.sf.ehcache.management.CacheMBean
Gets the JMX read-only CacheConfiguration
getCacheConfigurations() - Method in class net.sf.ehcache.config.Configuration
Gets a Map of cache configurations, keyed by name.
getCacheConfigurationsKeySet() - Method in class net.sf.ehcache.config.Configuration
Gets a Map of cacheConfigurations.
getCacheEntry(Object) - Method in class net.sf.ehcache.jcache.JCache
returns the CacheEntry object associated with the key.
getCacheEventListenerConfigurations() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getCacheEventListeners() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets a list of the listeners registered to this class
getCacheEventNotificationService() - Method in class net.sf.ehcache.Cache
Use this to access the service in order to register and unregister listeners
getCacheEventNotificationService() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Use this to access the service in order to register and unregister listeners
getCacheEventNotificationService() - Method in interface net.sf.ehcache.Ehcache
Use this to access the service in order to register and unregister listeners
getCacheExceptionHandler() - Method in class net.sf.ehcache.Cache
Gets the ExceptionHandler on this Cache, or null if there isn't one.
getCacheExceptionHandler() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets an ExceptionHandler on the Cache.
getCacheExceptionHandler() - Method in interface net.sf.ehcache.Ehcache
Sets an ExceptionHandler on the Cache.
getCacheExceptionHandlerFactoryConfiguration() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getCacheExtensionConfigurations() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getCacheHits() - Method in class net.sf.ehcache.jcache.JCacheStatistics
The number of times a requested item was found in the cache.
getCacheHits() - Method in class net.sf.ehcache.management.CacheStatistics
The number of times a requested item was found in the cache.
getCacheHits() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
The number of times a requested item was found in the cache.
getCacheHits() - Method in class net.sf.ehcache.Statistics
The number of times a requested item was found in the cache.
getCacheListener() - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Gets the underlying CacheListener
getCacheLoader() - Method in class net.sf.ehcache.Cache
Gets the CacheLoader registered in this cache
getCacheLoader() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the CacheLoader registered in this cache
getCacheLoader() - Method in interface net.sf.ehcache.Ehcache
Gets the CacheLoader registered in this cache
getCacheLoader() - Method in class net.sf.ehcache.jcache.JCache
Gets the CacheLoader registered in this cache
getCacheLoaderFactoryConfiguration() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getCacheManager() - Method in class net.sf.ehcache.Cache
Gets the CacheManager managing this cache.
getCacheManager() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the CacheManager managing this cache.
getCacheManager() - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Gets the CacheManager for this CachingFilter.
getCacheManager() - Method in class net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter
Gets the CacheManager for this CachingFilter.
getCacheManager() - Method in class net.sf.ehcache.constructs.web.filter.SimplePageFragmentCachingFilter
Gets the CacheManager for this CachingFilter.
getCacheManager() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
The cacheManager this provider is bound to
getCacheManager() - Method in interface net.sf.ehcache.Ehcache
Gets the CacheManager managing this cache.
getCacheManagerEventListener() - Method in class net.sf.ehcache.CacheManager
Returns the composite listener.
getCacheManagerEventListenerFactoryConfiguration() - Method in class net.sf.ehcache.config.Configuration
Gets the CacheManagerEventListener factory configuration.
getCacheManagerEventListenerRegistry() - Method in class net.sf.ehcache.CacheManager
Gets the CacheManagerEventListenerRegistry.
getCacheManagerPeerListenerFactoryConfiguration() - Method in class net.sf.ehcache.config.Configuration
Gets the CacheManagerPeerListener factory configuration.
getCacheManagerPeerProvider() - Method in class net.sf.ehcache.CacheManager
Gets the CacheManagerPeerProvider, which can be useful for programmatically adding peers.
getCacheManagerPeerProviderFactoryConfiguration() - Method in class net.sf.ehcache.config.Configuration
Gets the CacheManagerPeerProvider factory configuration.
getCacheMisses() - Method in class net.sf.ehcache.jcache.JCacheStatistics
Warning.
getCacheMisses() - Method in class net.sf.ehcache.management.CacheStatistics
Warning.
getCacheMisses() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
 
getCacheMisses() - Method in class net.sf.ehcache.Statistics
 
getCacheName() - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
A meaningful name representative of the JSP page being cached.
getCacheName() - Method in class net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter
A meaningful name representative of the JSP page being cached.
getCacheName() - Method in class net.sf.ehcache.constructs.web.filter.SimplePageFragmentCachingFilter
Returns the name of the cache to use for this filter.
getCacheName() - Method in class net.sf.ehcache.distribution.jgroups.JGroupEventMessage
Returns the cache name
getCacheName() - Method in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
Gets the cache name
getCacheNames() - Method in class net.sf.ehcache.CacheManager
Returns a list of the current cache names.
getCacheNames() - Method in class net.sf.ehcache.management.CacheManager
Gets the cache names managed by the CacheManager
getCacheNames() - Method in interface net.sf.ehcache.management.CacheManagerMBean
Gets the cache names managed by the CacheManager
getCachePeer() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.CachePeerEntry
 
getCachePeerListener() - Method in class net.sf.ehcache.CacheManager
When CacheManage is configured as part of a cluster, a CacheManagerPeerListener will be registered in it.
getCachePeerProvider() - Method in class net.sf.ehcache.CacheManager
Gets the CacheManagerPeerProvider For distributed caches, the peer provider finds other cache managers and their caches in the same cluster
getCaches() - Method in class net.sf.ehcache.management.CacheManager
Gets a list of caches in this CacheManager
getCaches() - Method in interface net.sf.ehcache.management.CacheManagerMBean
Gets a list of caches in this CacheManager
getCacheStatistics() - Method in class net.sf.ehcache.jcache.JCache
Gets an immutable Statistics object representing the Cache statistics at the time.
getConfigurationBean() - Method in class net.sf.ehcache.config.ConfigurationHelper
 
getConfigurationSource() - Method in class net.sf.ehcache.config.Configuration
Gets a description of the source from which this configuration was created.
getContentLength() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Gets the content length.
getContentType() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Gets the content type.
getContentType() - Method in class net.sf.ehcache.constructs.web.PageInfo
 
getCookies() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Gets all the cookies.
getCost() - Method in class net.sf.ehcache.jcache.JCacheEntry
This implementation does not have a notion of cost.
getCreationTime() - Method in class net.sf.ehcache.Element
Gets the creationTime attribute of the ElementAttributes object.
getCreationTime() - Method in class net.sf.ehcache.jcache.JCacheEntry
Gets the creationTime attribute of the ElementAttributes object.
getDataFileName() - Method in class net.sf.ehcache.store.DiskStore
 
getDataFilePath() - Method in class net.sf.ehcache.store.DiskStore
 
getDataFileSize() - Method in class net.sf.ehcache.store.DiskStore
 
getDate() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.CachePeerEntry
 
getDefaultCacheConfiguration() - Method in class net.sf.ehcache.config.Configuration
 
getDefaultPath() - Static method in class net.sf.ehcache.config.DiskStoreConfiguration
The diskStore default path, which is the system environment variable availablen on all Java virtual machines java.io.tmpdir
getDelayBetweenAttemptsInSeconds() - Method in interface net.sf.ehcache.constructs.asynchronous.Command
 
getDiskExpiryThreadIntervalSeconds() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
getDiskExpiryThreadIntervalSeconds() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getDiskExpiryThreadIntervalSeconds() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
 
getDiskExpiryThreadIntervalSeconds() - Method in interface net.sf.ehcache.Ehcache
 
getDiskExpiryThreadIntervalSeconds() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getDiskExpiryThreadIntervalSeconds() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getDiskSpoolBufferSizeMB() - Method in class net.sf.ehcache.config.CacheConfiguration
Getter
getDiskSpoolBufferSizeMB() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getDiskStore() - Method in class net.sf.ehcache.Cache
Gets the internal DiskStore.
getDiskStoreConfiguration() - Method in class net.sf.ehcache.config.Configuration
Gets the disk store configuration.
getDiskStoreHitCount() - Method in class net.sf.ehcache.Cache
Deprecated. Use Statistics
getDiskStorePath() - Method in class net.sf.ehcache.CacheManager
Returns the disk store path.
getDiskStorePath() - Method in class net.sf.ehcache.config.ConfigurationHelper
 
getDiskStoreSize() - Method in class net.sf.ehcache.Cache
Returns the number of elements in the disk store.
getDiskStoreSize() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Returns the number of elements in the disk store.
getDiskStoreSize() - Method in interface net.sf.ehcache.Ehcache
Returns the number of elements in the disk store.
getEhcache(String) - Method in class net.sf.ehcache.CacheManager
Gets an Ehcache

getElement() - Method in class net.sf.ehcache.distribution.EventMessage
 
getElementCountInMemory() - Method in class net.sf.ehcache.hibernate.EhCache
 
getElementCountOnDisk() - Method in class net.sf.ehcache.hibernate.EhCache
 
getElements(List) - Method in interface net.sf.ehcache.distribution.CachePeer
Gets a list of elements from the cache, for a list of keys, without updating Element statistics.
getElements(List) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Gets a list of elements from the cache, for a list of keys, without updating Element statistics.
getElements(List) - Method in class net.sf.ehcache.distribution.RMICachePeer
Gets a list of elements from the cache, for a list of keys, without updating Element statistics.
getElementsEvictedCounter() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets the number of events, irrespective of whether there are any registered listeners.
getElementsExpiredCounter() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets the number of events, irrespective of whether there are any registered listeners.
getElementsPutCounter() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets the number of events, irrespective of whether there are any registered listeners.
getElementsRemoveAllCounter() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets the number of events, irrespective of whether there are any registered listeners.
getElementsRemovedCounter() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets the number of events, irrespective of whether there are any registered listeners.
getElementsUpdatedCounter() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Gets the number of events, irrespective of whether there are any registered listeners.
getEvent() - Method in class net.sf.ehcache.distribution.EventMessage
Gets the event.
getEvent() - Method in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
Gets the event
getEvictionCount() - Method in class net.sf.ehcache.jcache.JCacheStatistics
Gets the number of cache evictions, since the cache was created, or statistics were cleared.
getEvictionCount() - Method in class net.sf.ehcache.Statistics
Gets the number of cache evictions, since the cache was created, or statistics were cleared.
getExecuteAttemptsForCommand(String) - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Gets the number of attempts for the command so far
getExecutorService() - Method in class net.sf.ehcache.Cache
 
getExpirationTime() - Method in class net.sf.ehcache.Element
Returns the expiration time based on time to live.
getExpirationTime() - Method in class net.sf.ehcache.jcache.JCacheEntry
Returns the expiration time based on time to live.
getFallbackClassLoader() - Static method in class net.sf.ehcache.util.ClassLoaderUtil
Gets a fallback ClassLoader that all classes in ehcache, and extensions, should use for classloading.
getFilterConfig() - Method in class net.sf.ehcache.constructs.web.filter.Filter
Returns the filter config.
getFirstElement() - Method in class net.sf.ehcache.store.FifoMemoryStore
Returns the first eligible element that can be taken out of the cache based on the FIFO policy
getFreePort() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Gets a free server socket port.
getFullyQualifiedClassPath() - Method in class net.sf.ehcache.config.FactoryConfiguration
Getter.
getGuid() - Method in class net.sf.ehcache.Cache
The GUID for this cache instance can be used to determine whether two cache instance references are pointing to the same cache.
getGuid() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
The GUID for this cache instance can be used to determine whether two cache instance references are pointing to the same cache.
getGuid() - Method in interface net.sf.ehcache.distribution.CachePeer
Gets the globally unique id for the underlying Cache instance.
getGuid() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Gets the globally unique id for the underlying Cache instance.
getGuid() - Method in class net.sf.ehcache.distribution.RMICachePeer
Gets the globally unique id for the underlying Cache instance.
getGuid() - Method in interface net.sf.ehcache.Ehcache
The GUID for this cache instance can be used to determine whether two cache instance references are pointing to the same cache.
getGzippedBody() - Method in class net.sf.ehcache.constructs.web.PageInfo
 
getHeaders() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Gets the headers.
getHeaders() - Method in class net.sf.ehcache.constructs.web.PageInfo
Returns the headers of the response.
getHeartBeatInterval() - Static method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
Returns the heartbeat interval.
getHeartBeatReceiver() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
 
getHeartBeatSender() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
 
getHitCount() - Method in class net.sf.ehcache.Cache
Deprecated. Use Statistics
getHitCount() - Method in class net.sf.ehcache.Element
Gets the hit count on this element.
getHitCount() - Method in interface net.sf.ehcache.store.LfuPolicy.Metadata
 
getHits() - Method in class net.sf.ehcache.jcache.JCacheEntry
Gets the hit count on this element.
getIndexFileName() - Method in class net.sf.ehcache.store.DiskStore
 
getIndexFileSize() - Method in class net.sf.ehcache.store.DiskStore
 
getInMemoryHits() - Method in class net.sf.ehcache.management.CacheStatistics
Number of times a requested item was found in the Memory Store.
getInMemoryHits() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
Number of times a requested item was found in the Memory Store.
getInMemoryHits() - Method in class net.sf.ehcache.Statistics
Number of times a requested item was found in the Memory Store.
getInstance() - Static method in class net.sf.ehcache.CacheManager
A factory method to create a singleton CacheManager with default config, or return it if it exists.
getInstance() - Static method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Factory method to get an instance of MessageDispatcher.
getJCache(String) - Method in class net.sf.ehcache.CacheManager
Gets a draft JSR107 spec JCache.
getKey() - Method in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
Get the Serializable key for the event
getKey() - Method in class net.sf.ehcache.Element
Gets the key attribute of the Element object.
getKey() - Method in class net.sf.ehcache.jcache.JCacheEntry
Returns the key corresponding to this entry.
getKeyArray() - Method in class net.sf.ehcache.store.DiskStore
Gets an Array of the keys for all elements in the disk store.
getKeyArray() - Method in class net.sf.ehcache.store.MemoryStore
Gets an Array of the keys for all elements in the memory cache.
getKeyArray() - Method in interface net.sf.ehcache.store.Store
Gets an Array of the keys for all elements in the disk store.
getKeys() - Method in class net.sf.ehcache.Cache
Returns a list of all element keys in the cache, whether or not they are expired.
getKeys() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Returns the keys for this cache.
getKeys() - Method in interface net.sf.ehcache.distribution.CachePeer
Returns a list of all elements in the cache, whether or not they are expired.
getKeys() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Returns a list of all elements in the cache, whether or not they are expired.
getKeys() - Method in class net.sf.ehcache.distribution.RMICachePeer
Returns a list of all elements in the cache, whether or not they are expired.
getKeys() - Method in interface net.sf.ehcache.Ehcache
Returns a list of all elements in the cache, whether or not they are expired.
getKeysNoDuplicateCheck() - Method in class net.sf.ehcache.Cache
Returns a list of all elements in the cache, whether or not they are expired.
getKeysNoDuplicateCheck() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Returns a list of all elements in the cache, whether or not they are expired.
getKeysNoDuplicateCheck() - Method in interface net.sf.ehcache.Ehcache
Returns a list of all elements in the cache, whether or not they are expired.
getKeysWithExpiryCheck() - Method in class net.sf.ehcache.Cache
Returns a list of all element keys in the cache.
getKeysWithExpiryCheck() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Returns a list of all elements in the cache.
getKeysWithExpiryCheck() - Method in interface net.sf.ehcache.Ehcache
Returns a list of all elements in the cache.
getLastAccessTime() - Method in class net.sf.ehcache.Element
Gets the last access time.
getLastAccessTime() - Method in class net.sf.ehcache.jcache.JCacheEntry
Gets the last access time.
getLastUpdateTime() - Method in class net.sf.ehcache.Element
If there is an Element in the Cache and it is replaced with a new Element for the same key, then both the version number and lastUpdateTime should be updated to reflect that.
getLastUpdateTime() - Method in class net.sf.ehcache.jcache.JCacheEntry
Updated means there was an existing Element that was replaced with a new one, for the same key.
getLockForKey(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the Mutex to use for a given key.
getMaxElementsInMemory() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
getMaxElementsInMemory() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getMaxElementsInMemory() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the maximum number of elements to hold in memory.
getMaxElementsInMemory() - Method in interface net.sf.ehcache.Ehcache
Gets the maximum number of elements to hold in memory.
getMaxElementsInMemory() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getMaxElementsInMemory() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getMaxElementsOnDisk() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
getMaxElementsOnDisk() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getMaxElementsOnDisk() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
 
getMaxElementsOnDisk() - Method in interface net.sf.ehcache.Ehcache
Gets the maximum number of elements to hold on Disk.
getMaxElementsOnDisk() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getMaxElementsOnDisk() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getMaximumChunkSizeBytes() - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Gets the maximum chunk size
getMemoryStore() - Method in class net.sf.ehcache.Cache
Gets the internal MemoryStore.
getMemoryStoreEvictionPolicy() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
getMemoryStoreEvictionPolicy() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getMemoryStoreEvictionPolicy() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
The policy used to evict elements from the MemoryStore.
getMemoryStoreEvictionPolicy() - Method in interface net.sf.ehcache.Ehcache
The policy used to evict elements from the MemoryStore.
getMemoryStoreEvictionPolicy() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getMemoryStoreEvictionPolicy() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getMemoryStoreHitCount() - Method in class net.sf.ehcache.Cache
Deprecated. Use Statistics
getMemoryStoreSize() - Method in class net.sf.ehcache.Cache
Returns the number of elements in the memory store.
getMemoryStoreSize() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Returns the number of elements in the memory store.
getMemoryStoreSize() - Method in interface net.sf.ehcache.Ehcache
Returns the number of elements in the memory store.
getMessageCache() - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Gets the message cache
getMimeType() - Method in class net.sf.ehcache.MimeTypeByteArray
 
getMissCountExpired() - Method in class net.sf.ehcache.Cache
Deprecated. Use Statistics
getMissCountNotFound() - Method in class net.sf.ehcache.Cache
Deprecated. Use Statistics
getName() - Method in class net.sf.ehcache.Cache
Gets the cache name.
getName() - Method in class net.sf.ehcache.CacheManager
Gets the name of the CacheManager.
getName() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getName() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Returns this cache's name
getName() - Method in interface net.sf.ehcache.distribution.CachePeer
Gets the cache name.
getName() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Gets the cache name.
getName() - Method in class net.sf.ehcache.distribution.RMICachePeer
Gets the cache name
getName() - Method in interface net.sf.ehcache.Ehcache
Gets the cache name.
getName() - Method in interface net.sf.ehcache.loader.CacheLoader
Gets the name of a CacheLoader
getName() - Method in class net.sf.ehcache.management.Cache
Gets the cache name.
getName() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getName() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getName() - Method in interface net.sf.ehcache.management.CacheMBean
Gets the cache name.
getNextToLastAccessTime() - Method in class net.sf.ehcache.Element
Gets the next to last access time.
getNumberOfAttempts() - Method in interface net.sf.ehcache.constructs.asynchronous.Command
 
getObjectCount() - Method in class net.sf.ehcache.jcache.JCacheStatistics
Gets the number of elements stored in the cache.
getObjectCount() - Method in class net.sf.ehcache.management.CacheStatistics
Gets the number of elements stored in the cache.
getObjectCount() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
Gets the number of elements stored in the cache.
getObjectCount() - Method in class net.sf.ehcache.Statistics
Gets the number of elements stored in the cache.
getObjectKey() - Method in class net.sf.ehcache.Element
Gets the key attribute of the Element object.
getObjectKey() - Method in interface net.sf.ehcache.store.LfuPolicy.Metadata
 
getObjectName() - Method in class net.sf.ehcache.management.Cache
 
getObjectName() - Method in class net.sf.ehcache.management.CacheConfiguration
 
getObjectName() - Method in class net.sf.ehcache.management.CacheManager
 
getObjectName() - Method in class net.sf.ehcache.management.CacheStatistics
 
getObjectValue() - Method in class net.sf.ehcache.Element
Gets the value attribute of the Element object as an Object.
getOnDiskHits() - Method in class net.sf.ehcache.management.CacheStatistics
Number of times a requested item was found in the Disk Store.
getOnDiskHits() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
Number of times a requested item was found in the Disk Store.
getOnDiskHits() - Method in class net.sf.ehcache.Statistics
Number of times a requested item was found in the Disk Store.
getOutputStream() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Gets the outputstream.
getPath() - Method in class net.sf.ehcache.config.DiskStoreConfiguration
The diskStore path
getProperties() - Method in class net.sf.ehcache.config.FactoryConfiguration
Getter.
getPropertySeparator() - Method in class net.sf.ehcache.config.FactoryConfiguration
Getter
getQueue() - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Must be synchronized as potentially two threads could create new queues at the same time, with the result that one element would be lost.
getQuiet(Serializable) - Method in class net.sf.ehcache.Cache
Gets an element from the cache, without updating Element statistics.
getQuiet(Object) - Method in class net.sf.ehcache.Cache
Gets an element from the cache, without updating Element statistics.
getQuiet(Serializable) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets an element from the cache, without updating Element statistics.
getQuiet(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets an element from the cache, without updating Element statistics.
getQuiet(Serializable) - Method in interface net.sf.ehcache.distribution.CachePeer
Gets an element from the cache, without updating Element statistics.
getQuiet(Serializable) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Gets an element from the cache, without updating Element statistics.
getQuiet(Serializable) - Method in class net.sf.ehcache.distribution.RMICachePeer
Gets an element from the cache, without updating Element statistics.
getQuiet(Serializable) - Method in interface net.sf.ehcache.Ehcache
Gets an element from the cache, without updating Element statistics.
getQuiet(Object) - Method in interface net.sf.ehcache.Ehcache
Gets an element from the cache, without updating Element statistics.
getQuiet(Object) - Method in class net.sf.ehcache.store.DiskStore
Gets an Element from the Disk Store, without updating statistics
getQuiet(Object) - Method in class net.sf.ehcache.store.MemoryStore
Gets an item from the cache, without updating statistics.
getQuiet(Object) - Method in interface net.sf.ehcache.store.Store
Gets an Element from the Store, without updating statistics
getRegionName() - Method in class net.sf.ehcache.hibernate.EhCache
 
getRegisteredListeners() - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Gets a Set of the listeners registered to this class
getSerializableCookies() - Method in class net.sf.ehcache.constructs.web.PageInfo
Returns the cookies of the response.
getSerializableKey() - Method in class net.sf.ehcache.distribution.EventMessage
 
getSerializedSize() - Method in class net.sf.ehcache.Element
The size of this object in serialized form.
getSize() - Method in class net.sf.ehcache.Cache
Gets the size of the cache.
getSize() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the size of the cache.
getSize() - Method in interface net.sf.ehcache.Ehcache
Gets the size of the cache.
getSize() - Method in class net.sf.ehcache.store.DiskStore
Returns the current store size.
getSize() - Method in class net.sf.ehcache.store.MemoryStore
Returns the current cache size.
getSize() - Method in interface net.sf.ehcache.store.Store
Returns the current store size.
getSizeInBytes() - Method in class net.sf.ehcache.store.MemoryStore
Measures the size of the memory store by measuring the serialized size of all elements.
getSizeInMemory() - Method in class net.sf.ehcache.hibernate.EhCache
Warning: This method can be very expensive to run.
getStaleTime() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
The time after which an unrefreshed peer provider entry is considered stale.
getStandardClassLoader() - Static method in class net.sf.ehcache.util.ClassLoaderUtil
Gets the ClassLoader that all classes in ehcache, and extensions, should use for classloading.
getStatistics() - Method in class net.sf.ehcache.Cache
Gets an immutable Statistics object representing the Cache statistics at the time.

Note, the Cache.getSize() method will have the same value as the size reported by Statistics for the statistics accuracy of Statistics.STATISTICS_ACCURACY_BEST_EFFORT.

getStatistics() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets an immutable Statistics object representing the Cache statistics at the time.
getStatistics() - Method in interface net.sf.ehcache.Ehcache
Gets an immutable Statistics object representing the Cache statistics at the time.
getStatistics() - Method in class net.sf.ehcache.management.Cache
Gets the JMX cache statistics
getStatistics() - Method in interface net.sf.ehcache.management.CacheMBean
Gets the JMX cache statistics
getStatisticsAccuracy() - Method in class net.sf.ehcache.Cache
Accurately measuring statistics can be expensive.
getStatisticsAccuracy() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Accurately measuring statistics can be expensive.
getStatisticsAccuracy() - Method in interface net.sf.ehcache.Ehcache
Accurately measuring statistics can be expensive.
getStatisticsAccuracy() - Method in class net.sf.ehcache.jcache.JCacheStatistics
Accurately measuring statistics can be expensive.
getStatisticsAccuracy() - Method in class net.sf.ehcache.management.CacheStatistics
Accurately measuring statistics can be expensive.
getStatisticsAccuracy() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
Accurately measuring statistics can be expensive.
getStatisticsAccuracy() - Method in class net.sf.ehcache.Statistics
Accurately measuring statistics can be expensive.
getStatisticsAccuracyDescription() - Method in class net.sf.ehcache.management.CacheStatistics
Accurately measuring statistics can be expensive.
getStatisticsAccuracyDescription() - Method in interface net.sf.ehcache.management.CacheStatisticsMBean
Accurately measuring statistics can be expensive.
getStatisticsAccuracyDescription() - Method in class net.sf.ehcache.Statistics
Accurately measuring statistics can be expensive.
getStatus() - Method in class net.sf.ehcache.Cache
Gets the status attribute of the Cache.
getStatus() - Method in class net.sf.ehcache.CacheManager
Gets the status attribute of the Ehcache
getStatus() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the status attribute of the Cache.
getStatus() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Returns the status code for this response.
getStatus() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
 
getStatus() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Returns the listener status.
getStatus() - Method in interface net.sf.ehcache.Ehcache
Gets the status attribute of the Cache.
getStatus() - Method in interface net.sf.ehcache.event.CacheManagerEventListener
Returns the listener status.
getStatus() - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Returns the listener status.
getStatus() - Method in interface net.sf.ehcache.extension.CacheExtension
 
getStatus() - Method in class net.sf.ehcache.management.Cache
Gets the status attribute of the Cache.
getStatus() - Method in class net.sf.ehcache.management.CacheManager
Gets the status attribute of the Ehcache
getStatus() - Method in interface net.sf.ehcache.management.CacheManagerMBean
Gets the status attribute of the Ehcache
getStatus() - Method in interface net.sf.ehcache.management.CacheMBean
Gets the status attribute of the Cache.
getStatus() - Method in class net.sf.ehcache.management.ManagementService
Returns the listener status.
getStatus() - Method in class net.sf.ehcache.store.DiskStore
Returns the store status.
getStatus() - Method in class net.sf.ehcache.store.MemoryStore
Gets the status of the MemoryStore.
getStatus() - Method in interface net.sf.ehcache.store.Store
Returns the cache status.
getStatusCode() - Method in class net.sf.ehcache.constructs.web.PageInfo
Returns the status code of the response.
getThrowablesToRetryOn() - Method in interface net.sf.ehcache.constructs.asynchronous.Command
The AsynchronousCommandExecutor may also be fault tolerant.
getTimeForClusterToForm() - Method in interface net.sf.ehcache.distribution.CacheManagerPeerProvider
Time for a cluster to form.
getTimeForClusterToForm() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Time for a cluster to form.
getTimeForClusterToForm() - Method in class net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider
Time for a cluster to form.
getTimeForClusterToForm() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
Time for a cluster to form.
getTimeout() - Method in class net.sf.ehcache.hibernate.EhCache
Returns the lock timeout for this cache, which is 60s
getTimeoutMillis() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets the time to wait to acquire a lock.
getTimeToIdle() - Method in class net.sf.ehcache.Element
 
getTimeToIdleSeconds() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
getTimeToIdleSeconds() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getTimeToIdleSeconds() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets timeToIdleSeconds.
getTimeToIdleSeconds() - Method in interface net.sf.ehcache.Ehcache
Gets timeToIdleSeconds.
getTimeToIdleSeconds() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getTimeToIdleSeconds() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getTimeToLive() - Method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
 
getTimeToLive() - Method in class net.sf.ehcache.Element
 
getTimeToLiveSeconds() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
getTimeToLiveSeconds() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
getTimeToLiveSeconds() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Gets timeToLiveSeconds.
getTimeToLiveSeconds() - Method in interface net.sf.ehcache.Ehcache
Gets timeToLiveSeconds.
getTimeToLiveSeconds() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
getTimeToLiveSeconds() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
getTotalFileSize() - Method in class net.sf.ehcache.store.DiskStore
 
getUngzippedBody() - Method in class net.sf.ehcache.constructs.web.PageInfo
 
getUniqueResourceIdentifier() - Method in interface net.sf.ehcache.distribution.CacheManagerPeerListener
A listener will normally have a resource that only one instance can use at the same time, such as a port.
getUniqueResourceIdentifier() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
A listener will normally have a resource that only one instance can use at the same time, such as a port.
getUrl() - Method in interface net.sf.ehcache.distribution.CachePeer
The URL for the remote replicator to connect.
getUrl() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
The URL for the remote replicator to connect.
getUrl() - Method in class net.sf.ehcache.distribution.RMICachePeer
The URL for the remote replicator to connect.

This implementation gives an URL which has meaning to the RMI remoting system.

getUrlBase() - Method in interface net.sf.ehcache.distribution.CachePeer
The URL base for the remote replicator to connect.
getUrlBase() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
The URL base for the remote replicator to connect.
getUrlBase() - Method in class net.sf.ehcache.distribution.RMICachePeer
The URL base for the remote replicator to connect.

This implementation gives an URL which has meaning to the RMI remoting system.

getUsedDataSize() - Method in class net.sf.ehcache.store.DiskStore
When elements are deleted, spaces are left in the file.
getValue() - Method in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
Gets the value, null if REMOVE or REMOVE_ALL
getValue() - Method in class net.sf.ehcache.Element
Gets the value attribute of the Element object.
getValue() - Method in class net.sf.ehcache.jcache.JCacheEntry
Returns the value corresponding to this entry.
getValue() - Method in class net.sf.ehcache.MimeTypeByteArray
 
getVersion() - Method in class net.sf.ehcache.Element
Gets the version attribute of the ElementAttributes object.
getVersion() - Method in class net.sf.ehcache.jcache.JCacheEntry
Returns the version of the Element.
getWithLoader(Object, CacheLoader, Object) - Method in class net.sf.ehcache.Cache
Warning: This method is related to the JSR107 specification, which is in draft.
getWithLoader(Object, CacheLoader, Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
This method is not appropriate to use with BlockingCache.
getWithLoader(Object, CacheLoader, Object) - Method in interface net.sf.ehcache.Ehcache
Warning: This method is related to the JSR107 specification, which is in draft.
getWriter() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Gets the print writer.
gzip(byte[]) - Static method in class net.sf.ehcache.distribution.PayloadUtil
Gzips a byte[].
GzipFilter - Class in net.sf.ehcache.constructs.web.filter
Provides GZIP compression of responses.
GzipFilter() - Constructor for class net.sf.ehcache.constructs.web.filter.GzipFilter
 

H

handleNotification(Serializable) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Handles notification: Looks at type of message and unwrap if the argument is a list
hasCacheEventListeners() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Returns whether or not at least one cache event listeners has been registered.
hasGzippedBody() - Method in class net.sf.ehcache.constructs.web.PageInfo
 
hash(Object) - Static method in class net.sf.ehcache.constructs.concurrent.ConcurrencyUtil
Returns a hash code for non-null Object x.
hashCode() - Method in class net.sf.ehcache.Cache
Returns a hash code value for the object.
hashCode() - Method in class net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory
Implements the Object hashCode method.
hashCode() - Method in class net.sf.ehcache.Element
Gets the hashcode, based on the key.
hashCode() - Method in class net.sf.ehcache.Status
Returns a hash code value for Status.
hasRegisteredListeners() - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Returns whether or not at least one cache manager event listeners has been registered.
hasUngzippedBody() - Method in class net.sf.ehcache.constructs.web.PageInfo
 

I

init(FilterConfig) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Initialises the filter.
init() - Method in interface net.sf.ehcache.distribution.CacheManagerPeerProvider
Notifies providers to initialise themselves.
init() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Notifies providers to initialise themselves.
init() - Method in class net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider
Notifies providers to initialise themselves.
init() - Method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver
Start.
init() - Method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
Start the heartbeat thread
init() - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
Notifies providers to initialise themselves.
init() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Call to start the listeners and do any other required initialisation.
init() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Notifies providers to initialise themselves.
init() - Method in interface net.sf.ehcache.event.CacheManagerEventListener
Call to start the listeners and do any other required initialisation.
init() - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Initialises the listeners, ready to receive events.
init() - Method in interface net.sf.ehcache.extension.CacheExtension
Notifies providers to initialise themselves.
init() - Method in class net.sf.ehcache.management.ManagementService
Call to register the mbeans in the mbean server and start the event listeners and do any other required initialisation.
initialise() - Method in class net.sf.ehcache.Cache
Newly created caches do not have a MemoryStore or a DiskStore.
initialise() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Newly created caches do not have a MemoryStore or a DiskStore.
initialise() - Method in interface net.sf.ehcache.Ehcache
Newly created caches do not have a MemoryStore or a DiskStore.
intValue() - Method in class net.sf.ehcache.Status
Returns the int value of status, for backward compatibility with ehcache versions below 1.2
inUse - Variable in class net.sf.ehcache.constructs.concurrent.Mutex
The lock status *
invoke(Object, Method, Object[]) - Method in class net.sf.ehcache.exceptionhandler.ExceptionHandlingDynamicCacheProxy
Processes a method invocation on a proxy instance and returns the result.
isAsynchronous() - Method in interface net.sf.ehcache.bootstrap.BootstrapCacheLoader
 
isAsynchronous() - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
 
isDisabled() - Method in class net.sf.ehcache.Cache
Whether this cache is disabled.
isDisabled() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Whether this cache is disabled.
isDisabled() - Method in interface net.sf.ehcache.Ehcache
Whether this cache is disabled.
isDiskPersistent() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration *
isDiskPersistent() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
isDiskPersistent() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
 
isDiskPersistent() - Method in interface net.sf.ehcache.Ehcache
 
isDiskPersistent() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
isDiskPersistent() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
isDiskStore() - Method in class net.sf.ehcache.Cache
Whether this cache uses a disk store
isDistributed(Ehcache) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Determine if the given cache is distributed.
isElementInMemory(Serializable) - Method in class net.sf.ehcache.Cache
Whether an Element is stored in the cache in Memory, indicating a very low cost of retrieval.
isElementInMemory(Object) - Method in class net.sf.ehcache.Cache
Whether an Element is stored in the cache in Memory, indicating a very low cost of retrieval.
isElementInMemory(Serializable) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Whether an Element is stored in the cache in Memory, indicating a very low cost of retrieval.
isElementInMemory(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Whether an Element is stored in the cache in Memory, indicating a very low cost of retrieval.
isElementInMemory(Serializable) - Method in interface net.sf.ehcache.Ehcache
Whether an Element is stored in the cache in Memory, indicating a very low cost of retrieval.
isElementInMemory(Object) - Method in interface net.sf.ehcache.Ehcache
Whether an Element is stored in the cache in Memory, indicating a very low cost of retrieval.
isElementOnDisk(Serializable) - Method in class net.sf.ehcache.Cache
Whether an Element is stored in the cache on Disk, indicating a higher cost of retrieval.
isElementOnDisk(Object) - Method in class net.sf.ehcache.Cache
Whether an Element is stored in the cache on Disk, indicating a higher cost of retrieval.
isElementOnDisk(Serializable) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Whether an Element is stored in the cache on Disk, indicating a higher cost of retrieval.
isElementOnDisk(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Whether an Element is stored in the cache on Disk, indicating a higher cost of retrieval.
isElementOnDisk(Serializable) - Method in interface net.sf.ehcache.Ehcache
Whether an Element is stored in the cache on Disk, indicating a higher cost of retrieval.
isElementOnDisk(Object) - Method in interface net.sf.ehcache.Ehcache
Whether an Element is stored in the cache on Disk, indicating a higher cost of retrieval.
isEmpty() - Method in class net.sf.ehcache.jcache.JCache
Returns true if this map contains no key-value mappings.
isEternal() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
isEternal() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
isEternal() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Are elements eternal.
isEternal() - Method in interface net.sf.ehcache.Ehcache
Are elements eternal.
isEternal() - Method in class net.sf.ehcache.Element
 
isEternal() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
isEternal() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
isExpired(Element) - Method in class net.sf.ehcache.Cache
Checks whether this cache element has expired.
isExpired(Element) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Checks whether this cache element has expired.
isExpired(Element) - Method in interface net.sf.ehcache.Ehcache
Checks whether this cache element has expired.
isExpired() - Method in class net.sf.ehcache.Element
An element is expired if the expiration time as given by Element.getExpirationTime() is in the past.
isFull() - Method in class net.sf.ehcache.store.MemoryStore
An algorithm to tell if the MemoryStore is at or beyond its carrying capacity.
isGzipped(byte[]) - Static method in class net.sf.ehcache.constructs.web.PageInfo
Checks the first two bytes of the candidate byte array for the magic number 0x677a.
isKeyInCache(Object) - Method in class net.sf.ehcache.Cache
An inexpensive check to see if the key exists in the cache.
isKeyInCache(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
An inexpensive check to see if the key exists in the cache.
isKeyInCache(Object) - Method in interface net.sf.ehcache.Ehcache
An inexpensive check to see if the key exists in the cache.
isKeySerializable() - Method in class net.sf.ehcache.Element
Whether the element's key may be Serialized.
isLifespanSet() - Method in class net.sf.ehcache.Element
Whether any combination of eternal, TTL or TTI has been set.
isMinimalPutsEnabledByDefault() - Method in class net.sf.ehcache.hibernate.EhCacheProvider
Not sure what this is supposed to do.
isMinimalPutsEnabledByDefault() - Method in class net.sf.ehcache.hibernate.SingletonEhCacheProvider
Not sure what this is supposed to do.
isOk() - Method in class net.sf.ehcache.constructs.web.PageInfo
Returns true if the response is Ok.
isOverflowToDisk() - Method in class net.sf.ehcache.Cache
Deprecated. Get this from the configuration
isOverflowToDisk() - Method in class net.sf.ehcache.config.CacheConfiguration
Accessor
isOverflowToDisk() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Does the overflow go to disk.
isOverflowToDisk() - Method in interface net.sf.ehcache.Ehcache
Does the overflow go to disk.
isOverflowToDisk() - Method in class net.sf.ehcache.management.CacheConfiguration
Accessor
isOverflowToDisk() - Method in interface net.sf.ehcache.management.CacheConfigurationMBean
Accessor
isReplicateAsync() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Weather or not the cache is replicated asynchronously.
isReplicatePuts() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Wether or not puts are replicated
isReplicateRemovals() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
wether or not removals are replicated
isReplicateUpdates() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Wether or not updates are replicated
isReplicateUpdatesViaCopy() - Method in interface net.sf.ehcache.distribution.CacheReplicator
Returns whether update is through copy or invalidate
isReplicateUpdatesViaCopy() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Returns whether update is through copy or invalidate
isReplicateUpdatesViaCopy() - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
 
isSerializable() - Method in class net.sf.ehcache.Element
Whether the element may be Serialized.
isSpoolThreadAlive() - Method in class net.sf.ehcache.store.DiskStore
The spool thread is started when the disk store is created.
isValid() - Method in class net.sf.ehcache.distribution.EventMessage
 
isValid() - Method in class net.sf.ehcache.jcache.JCacheEntry
An Element is 'valid' if it is unexpired.
isValueInCache(Object) - Method in class net.sf.ehcache.Cache
An extremely expensive check to see if the value exists in the cache.
isValueInCache(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
An extremely expensive check to see if the value exists in the cache.
isValueInCache(Object) - Method in interface net.sf.ehcache.Ehcache
An extremely expensive check to see if the value exists in the cache.

J

JCache - Class in net.sf.ehcache.jcache
Warning: This class is related to the JSR107 specification, which is in draft.
JCache(Ehcache) - Constructor for class net.sf.ehcache.jcache.JCache
A constructor for JCache.
JCache(Ehcache, CacheLoader) - Constructor for class net.sf.ehcache.jcache.JCache
A constructor for JCache.
JCache(Ehcache, CacheLoader) - Constructor for class net.sf.ehcache.jcache.JCache
A constructor for JCache.
JCacheEntry - Class in net.sf.ehcache.jcache
An implementation of CacheEntry.
JCacheEntry(Element) - Constructor for class net.sf.ehcache.jcache.JCacheEntry
Constructor
JCacheFactory - Class in net.sf.ehcache.jcache
A CacheFactory implementation for JCache.
JCacheFactory() - Constructor for class net.sf.ehcache.jcache.JCacheFactory
 
JCacheListenerAdaptor - Class in net.sf.ehcache.jcache
This adaptor permits JCACHE CacheListeners to be registered as Ehcache CacheEventListeners.
JCacheListenerAdaptor(CacheListener) - Constructor for class net.sf.ehcache.jcache.JCacheListenerAdaptor
Creates an adaptor that delegates to a CacheListener
jCaches - Variable in class net.sf.ehcache.CacheManager
JCaches managed by this manager.
JCacheStatistics - Class in net.sf.ehcache.jcache
A jsr107 CacheStatistics decorator for an ehcache Statistics class.
JCacheStatistics(Statistics) - Constructor for class net.sf.ehcache.jcache.JCacheStatistics
Constructs an object from an ehcache statistics object
JGroupEventMessage - Class in net.sf.ehcache.distribution.jgroups
An EventMessage used for JGroups
JGroupEventMessage(int, Serializable, Element, Ehcache, String) - Constructor for class net.sf.ehcache.distribution.jgroups.JGroupEventMessage
An event message for the JGroupsCacheReplicator.
JGroupManager - Class in net.sf.ehcache.distribution.jgroups
The main Jgroup class for replication via JGroup.
JGroupManager(CacheManager, String) - Constructor for class net.sf.ehcache.distribution.jgroups.JGroupManager
Construc a new JGroupManager with a specific Jgroups connection String
JGroupsCacheManagerPeerProviderFactory - Class in net.sf.ehcache.distribution.jgroups
 
JGroupsCacheManagerPeerProviderFactory() - Constructor for class net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory
 
JGroupsCacheReplicator - Class in net.sf.ehcache.distribution.jgroups
 
JGroupsCacheReplicator(boolean, boolean, boolean, boolean, boolean) - Constructor for class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Constructor called by factory
JGroupsCacheReplicatorFactory - Class in net.sf.ehcache.distribution.jgroups
 
JGroupsCacheReplicatorFactory() - Constructor for class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
Empty arg constructor
JGroupSerializable - Class in net.sf.ehcache.distribution.jgroups
Serializable type used for Jgroups type replication
JGroupSerializable(int, Serializable, Object, String) - Constructor for class net.sf.ehcache.distribution.jgroups.JGroupSerializable
 

K

keySet() - Method in class net.sf.ehcache.jcache.JCache
Returns a set view of the keys contained in this map.

L

leastHit(LfuPolicy.Metadata[], LfuPolicy.Metadata) - Static method in class net.sf.ehcache.store.LfuPolicy
Finds the least hit of the sampled elements provided
LFU - Static variable in class net.sf.ehcache.store.MemoryStoreEvictionPolicy
LFU - least frequently used.
LfuMemoryStore - Class in net.sf.ehcache.store
Less Frequently Used (LFU) implementation of the memory store.
LfuMemoryStore(Ehcache, Store) - Constructor for class net.sf.ehcache.store.LfuMemoryStore
Constructor for the LfuMemoryStore object.
LfuPolicy - Class in net.sf.ehcache.store
Contains common LFU policy code for use between the LfuMemoryStore and the DiskStore, which also uses an LfuPolicy for evictions.
LfuPolicy.Metadata - Interface in net.sf.ehcache.store
A type representing relevant metadata from an element, used by LfuPolicy for its operations.
listBoundRMICachePeers() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Returns a list of bound objects.
listRemoteCachePeers(Ehcache) - Method in interface net.sf.ehcache.distribution.CacheManagerPeerProvider
 
listRemoteCachePeers(Ehcache) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
listRemoteCachePeers(Ehcache) - Static method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Package protected List of cache peers
listRemoteCachePeers(Ehcache) - Method in class net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider
 
listRemoteCachePeers(Ehcache) - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
 
listRemoteCachePeers(Ehcache) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Package protected List of cache peers
listRemoteCachePeers(Ehcache) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
 
listRemoteCachePeers(Ehcache) - Static method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Package protected List of cache peers
liveness() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Synchronized version of getName to test liveness of the object lock.
load(Ehcache) - Method in interface net.sf.ehcache.bootstrap.BootstrapCacheLoader
Instructs the loader to load the given cache
load(Object) - Method in class net.sf.ehcache.Cache
Warning: This method is related to the JSR107 specification, which is in draft.
load(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
This method is not appropriate to use with BlockingCache.
load(Ehcache) - Method in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Bootstraps the cache from a random CachePeer.
load(Object) - Method in interface net.sf.ehcache.Ehcache
Warning: This method is related to the JSR107 specification, which is in draft.
load(Object) - Method in class net.sf.ehcache.jcache.JCache
The load method provides a means to "pre load" the cache.
load(Object, Object) - Method in interface net.sf.ehcache.loader.CacheLoader
Load using both a key and an argument.
loadAll(Collection, Object) - Method in class net.sf.ehcache.Cache
Warning: This method is related to the JSR107 specification, which is in draft.
loadAll(Collection, Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
This method is not appropriate to use with BlockingCache.
loadAll(Collection, Object) - Method in interface net.sf.ehcache.Ehcache
Warning: This method is related to the JSR107 specification, which is in draft.
loadAll(Collection) - Method in class net.sf.ehcache.jcache.JCache
The loadAll method provides a means to "pre load" objects into the cache.
loadAll(Collection, Object) - Method in class net.sf.ehcache.jcache.JCache
The loadAll method provides a means to "pre load" objects into the cache.
loadAll(Collection, Object) - Method in interface net.sf.ehcache.loader.CacheLoader
Load using both a key and an argument.
lock(Object) - Method in class net.sf.ehcache.hibernate.EhCache
Calls to this method should perform their own synchronization.
LOCK_NUMBER - Static variable in class net.sf.ehcache.constructs.blocking.BlockingCache
The default number of locks to use.
locks - Variable in class net.sf.ehcache.constructs.blocking.BlockingCache
Based on the lock striping concept from Brian Goetz.
LockTimeoutException - Exception in net.sf.ehcache.constructs.blocking
Indicates that a timeout has occured while attempting to obtain a lock using Mutex.attempt(long)

This is a normal runtime exception which should be handled by calling code.

LockTimeoutException() - Constructor for exception net.sf.ehcache.constructs.blocking.LockTimeoutException
Constructs a new runtime exception with null as its detail message.
LockTimeoutException(String) - Constructor for exception net.sf.ehcache.constructs.blocking.LockTimeoutException
Constructs a new runtime exception with the specified detail message.
LockTimeoutException(String, Throwable) - Constructor for exception net.sf.ehcache.constructs.blocking.LockTimeoutException
Constructor for the LockTimeoutException object.
logRequestHeaders(HttpServletRequest) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Logs the request headers, if debug is enabled.
lookupPeer(String) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Returns a reference to the remote object.
lookupRemoteCachePeer(String) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
The use of one-time registry creation and Naming.rebind should mean we can create as many listeneres as we like.
LRU - Static variable in class net.sf.ehcache.store.MemoryStoreEvictionPolicy
LRU - least recently used.
LruMemoryStore - Class in net.sf.ehcache.store
An implementation of a LruMemoryStore.
LruMemoryStore(Ehcache, Store) - Constructor for class net.sf.ehcache.store.LruMemoryStore
Constructor for the LruMemoryStore object The backing LinkedHashMap is created with LRU by access order.
LruMemoryStore.SpoolingLinkedHashMap - Class in net.sf.ehcache.store
An extension of LinkedHashMap which overrides LruMemoryStore.SpoolingLinkedHashMap.removeEldestEntry(java.util.Map.Entry) to persist cache entries to the auxiliary cache before they are removed.
LruMemoryStore.SpoolingLinkedHashMap() - Constructor for class net.sf.ehcache.store.LruMemoryStore.SpoolingLinkedHashMap
Default constructor.
LruMemoryStore.SpoolingLRUMap - Class in net.sf.ehcache.store
An LRU Map implementation based on Apache Commons LRUMap.
LruMemoryStore.SpoolingLRUMap() - Constructor for class net.sf.ehcache.store.LruMemoryStore.SpoolingLRUMap
Constructor.

M

ManagementService - Class in net.sf.ehcache.management
Ehcache CacheManagers and Caches have lifecycles.
ManagementService(CacheManager, MBeanServer, boolean, boolean, boolean, boolean) - Constructor for class net.sf.ehcache.management.ManagementService
A constructor for a management service for a range of possible MBeans.
ManualRMICacheManagerPeerProvider - Class in net.sf.ehcache.distribution
A provider of Peer RMI addresses based off manual configuration.
ManualRMICacheManagerPeerProvider() - Constructor for class net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider
Empty constructor.
map - Variable in class net.sf.ehcache.store.MemoryStore
Map where items are stored by key.
maxElementsInMemory - Variable in class net.sf.ehcache.config.CacheConfiguration
the maximum objects to be held in the MemoryStore.
maxElementsOnDisk - Variable in class net.sf.ehcache.config.CacheConfiguration
the maximum objects to be held in the DiskStore.
MAXIMUM_CHUNK_SIZE_BYTES - Static variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
The property name expected in ehcache.xml for the maximum chunk size in bytes
maximumChunkSizeBytes - Variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
The maximum serialized size of the elements to request from a remote cache peer during bootstrap.
memberJoined(Address) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
memberLeft(Address) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
MemoryEfficientByteArrayOutputStream - Class in net.sf.ehcache.util
This class is designed to minimise the number of System.arraycopy(); methods required to complete.
MemoryEfficientByteArrayOutputStream(int) - Constructor for class net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
MemoryStore - Class in net.sf.ehcache.store
An abstract class for the Memory Stores.
MemoryStore(Ehcache, Store) - Constructor for class net.sf.ehcache.store.MemoryStore
Constructs things that all MemoryStores have in common.
memoryStoreEvictionPolicy - Variable in class net.sf.ehcache.config.CacheConfiguration
The policy used to evict elements from the MemoryStore.
MemoryStoreEvictionPolicy - Class in net.sf.ehcache.store
A typesafe enumeration of eviction policies.
MESSAGE_CACHE - Static variable in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
The name of the message cache in the ehcache.xml configuration file.
MimeTypeByteArray - Class in net.sf.ehcache
A bean used to wrap byte[] values to be placed in an Element so as to preserve MIME type information.
MimeTypeByteArray() - Constructor for class net.sf.ehcache.MimeTypeByteArray
Empty constructor, as required for JavaBeans
MimeTypeByteArray(String, byte[]) - Constructor for class net.sf.ehcache.MimeTypeByteArray
Full constructor
MINIMUM_SAFE_DISPATCHER_THREAD_INTERVAL - Static variable in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Minimum setting for the dispatcher thread interval.
MTU - Static variable in class net.sf.ehcache.distribution.PayloadUtil
The maximum transmission unit.
MulticastKeepaliveHeartbeatReceiver - Class in net.sf.ehcache.distribution
Receives heartbeats from any MulticastKeepaliveHeartbeatSenders out there.
MulticastKeepaliveHeartbeatReceiver(MulticastRMICacheManagerPeerProvider, InetAddress, Integer) - Constructor for class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver
Constructor.
MulticastKeepaliveHeartbeatSender - Class in net.sf.ehcache.distribution
Sends heartbeats to a multicast group containing a compressed list of URLs.
MulticastKeepaliveHeartbeatSender(CacheManager, InetAddress, Integer, Integer) - Constructor for class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
Constructor.
MulticastRMICacheManagerPeerProvider - Class in net.sf.ehcache.distribution
A peer provider which discovers peers using Multicast.
MulticastRMICacheManagerPeerProvider(CacheManager, InetAddress, Integer, Integer) - Constructor for class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
Creates and starts a multicast peer provider
MulticastRMICacheManagerPeerProvider.CachePeerEntry - Class in net.sf.ehcache.distribution
Entry containing a looked up CachePeer and date
MulticastRMICacheManagerPeerProvider.CachePeerEntry(CachePeer, Date) - Constructor for class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.CachePeerEntry
Constructor
Mutex - Class in net.sf.ehcache.constructs.concurrent
 
Mutex() - Constructor for class net.sf.ehcache.constructs.concurrent.Mutex
 

N

name - Variable in class net.sf.ehcache.config.CacheConfiguration
the name of the cache.
NAME - Static variable in class net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter
The name of the filter.
NAME - Static variable in class net.sf.ehcache.constructs.web.filter.SimplePageFragmentCachingFilter
This filter's name
net.sf.ehcache - package net.sf.ehcache
This package contains the public API for using ehcache.
net.sf.ehcache.bootstrap - package net.sf.ehcache.bootstrap
This package contains the bootstrap cache loader interface and abstract factory.
net.sf.ehcache.config - package net.sf.ehcache.config
This package contains the cache configuration code.
net.sf.ehcache.constructs.asynchronous - package net.sf.ehcache.constructs.asynchronous
 
net.sf.ehcache.constructs.blocking - package net.sf.ehcache.constructs.blocking
Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs.
net.sf.ehcache.constructs.concurrent - package net.sf.ehcache.constructs.concurrent
This package contains the Mutex class and Sync interface taken as is, with fixed for checkstyle and javadoc errors from version 1.3.4 of Doug Lea's concurrency package.
net.sf.ehcache.constructs.web - package net.sf.ehcache.constructs.web

Constructs useful for Java EE Web Container environments, specifically the Servlet 2.3 and later specifications.

net.sf.ehcache.constructs.web.filter - package net.sf.ehcache.constructs.web.filter

Caching filters compliant with the filters in the Servlet 2.3 specification.

net.sf.ehcache.distribution - package net.sf.ehcache.distribution
This package is for cache replication.
net.sf.ehcache.distribution.jgroups - package net.sf.ehcache.distribution.jgroups
This package is for cache replication using Jgroups.
net.sf.ehcache.event - package net.sf.ehcache.event
This package contains interfaces and classes for listening to events.
net.sf.ehcache.exceptionhandler - package net.sf.ehcache.exceptionhandler
This package is for exception handling.
net.sf.ehcache.extension - package net.sf.ehcache.extension
This package contains interfaces and classes for the cache extension mechanism.
net.sf.ehcache.hibernate - package net.sf.ehcache.hibernate
This package contains interfaces and classes for Hibernate3.1 and higher.
net.sf.ehcache.jcache - package net.sf.ehcache.jcache
This package contains an implementation of JSR-107: the JCACHE API.
net.sf.ehcache.loader - package net.sf.ehcache.loader
This package contains a cache loaders and associated factories.
net.sf.ehcache.management - package net.sf.ehcache.management
This package contains JMX MBeans and implementations for management of ehcache.
net.sf.ehcache.store - package net.sf.ehcache.store
Store package.
net.sf.ehcache.util - package net.sf.ehcache.util
Util package.
NET_SF_EHCACHE_CONFIGURATION_RESOURCE_NAME - Static variable in class net.sf.ehcache.hibernate.EhCacheProvider
The Hibernate system property specifying the location of the ehcache configuration file name.
NET_SF_EHCACHE_CONFIGURATION_RESOURCE_NAME - Static variable in class net.sf.ehcache.hibernate.SingletonEhCacheProvider
The Hibernate system property specifying the location of the ehcache configuration file name.
NET_SF_EHCACHE_DISABLED - Static variable in class net.sf.ehcache.Cache
System Property based method of disabling ehcache.
nextTimestamp() - Method in class net.sf.ehcache.hibernate.EhCache
Gets the next timestamp;
nextTimestamp() - Method in class net.sf.ehcache.hibernate.EhCacheProvider
Returns the next timestamp.
nextTimestamp() - Method in class net.sf.ehcache.hibernate.SingletonEhCacheProvider
Returns the next timestamp.
NO_FILTER - Static variable in class net.sf.ehcache.constructs.web.filter.Filter
If a request attribute NO_FILTER is set, then filtering will be skipped
notAlive() - Method in interface net.sf.ehcache.distribution.CacheReplicator
Returns whether the replicator is not active.
notAlive() - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Returns whether the replicator is not active.
notAlive() - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Asserts that the replicator is active.
notifyCacheAdded(String) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Called immediately after a cache has been added and activated.
notifyCacheAdded(String) - Method in interface net.sf.ehcache.event.CacheManagerEventListener
Called immediately after a cache has been added and activated.
notifyCacheAdded(String) - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Called immediately after a cache has been added and activated.
notifyCacheAdded(String) - Method in class net.sf.ehcache.management.ManagementService
Called immediately after a cache has been added and activated.
notifyCacheRemoved(String) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Called immediately after a cache has been disposed and removed.
notifyCacheRemoved(String) - Method in interface net.sf.ehcache.event.CacheManagerEventListener
Called immediately after a cache has been disposed and removed.
notifyCacheRemoved(String) - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Called immediately after a cache has been disposed and removed.
notifyCacheRemoved(String) - Method in class net.sf.ehcache.management.ManagementService
Called immediately after a cache has been disposed and removed.
notifyElementEvicted(Ehcache, Element) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Called immediately after an element is evicted from the cache.
notifyElementEvicted(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Called immediately after an element is evicted from the cache.
notifyElementEvicted(Ehcache, Element) - Method in interface net.sf.ehcache.event.CacheEventListener
Called immediately after an element is evicted from the cache.
notifyElementEvicted(Element, boolean) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Notifies all registered listeners, in no guaranteed order, that an element has been evicted from the cache
notifyElementEvicted(Ehcache, Element) - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Called immediately after an element is evicted from the cache.
notifyElementExpired(Ehcache, Element) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Called immediately after an element is found to be expired.
notifyElementExpired(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Called immediately after an element is found to be expired.

This implementation does not propagate expiries.

notifyElementExpired(Ehcache, Element) - Method in interface net.sf.ehcache.event.CacheEventListener
Called immediately after an element is found to be expired.
notifyElementExpired(Ehcache, Element) - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Called immediately after an element is found to be expired.
notifyElementExpiry(Element, boolean) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Notifies all registered listeners, in no guaranteed order, that an element has expired
notifyElementPut(Ehcache, Element) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Called immediately after an element has been put into the cache.
notifyElementPut(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Called immediately after an element has been put into the cache.

This implementation queues the put notification for in-order replication to peers.

notifyElementPut(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Called immediately after an element has been put into the cache.
notifyElementPut(Ehcache, Element) - Method in interface net.sf.ehcache.event.CacheEventListener
Called immediately after an element has been put into the cache.
notifyElementPut(Element, boolean) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Notifies all registered listeners, in no guaranteed order, that an element was put into the cache
notifyElementPut(Ehcache, Element) - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Called immediately after an element has been put into the cache.
notifyElementRemoved(Ehcache, Element) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Called immediately after an attempt to remove an element.
notifyElementRemoved(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Called immediately after an attempt to remove an element.
notifyElementRemoved(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Called immediately after an attempt to remove an element.
notifyElementRemoved(Ehcache, Element) - Method in interface net.sf.ehcache.event.CacheEventListener
Called immediately after an attempt to remove an element.
notifyElementRemoved(Element, boolean) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Notifies all registered listeners, in no guaranteed order, that an element was removed
notifyElementRemoved(Ehcache, Element) - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Called immediately after an element has been removed.
notifyElementUpdated(Ehcache, Element) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Called immediately after an element has been put into the cache and the element already existed in the cache.
notifyElementUpdated(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Called immediately after an element has been put into the cache and the element already existed in the cache.
notifyElementUpdated(Ehcache, Element) - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Called immediately after an element has been put into the cache and the element already existed in the cache.
notifyElementUpdated(Ehcache, Element) - Method in interface net.sf.ehcache.event.CacheEventListener
Called immediately after an element has been put into the cache and the element already existed in the cache.
notifyElementUpdated(Element, boolean) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Notifies all registered listeners, in no guaranteed order, that an element in the cache was updated
notifyElementUpdated(Ehcache, Element) - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Called immediately after an element has been put into the cache and the element already existed in the cache.
notifyExpiry(Element) - Method in class net.sf.ehcache.store.MemoryStore
Before eviction elements are checked.
notifyRemoveAll(Ehcache) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Called during Ehcache.removeAll() to indicate that the all elements have been removed from the cache in a bulk operation.
notifyRemoveAll(Ehcache) - Method in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Called during Ehcache.removeAll() to indicate that the all elements have been removed from the cache in a bulk operation.
notifyRemoveAll(Ehcache) - Method in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Called during Ehcache.removeAll() to indicate that the all elements have been removed from the cache in a bulk operation.
notifyRemoveAll(Ehcache) - Method in interface net.sf.ehcache.event.CacheEventListener
Called during Ehcache.removeAll() to indicate that the all elements have been removed from the cache in a bulk operation.
notifyRemoveAll(boolean) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Notifies all registered listeners, in no guaranteed order, that removeAll has been called and all elements cleared
notifyRemoveAll(Ehcache) - Method in class net.sf.ehcache.jcache.JCacheListenerAdaptor
Called during Ehcache.removeAll() to indicate that the all elements have been removed from the cache in a bulk operation.
numberOfCachesThatAreDiskPersistent() - Method in class net.sf.ehcache.config.ConfigurationHelper
Calculates the number of caches in the configuration that are diskPersistent
numberOfCachesThatOverflowToDisk() - Method in class net.sf.ehcache.config.ConfigurationHelper
Calculates the number of caches in the configuration that overflow to disk

O

ObjectExistsException - Exception in net.sf.ehcache
Thrown when a duplicate cache is attemtpted to be created
ObjectExistsException() - Constructor for exception net.sf.ehcache.ObjectExistsException
Constructor for the ObjectExistsException object.
ObjectExistsException(String) - Constructor for exception net.sf.ehcache.ObjectExistsException
Constructor for the ObjectExistsException object.
ONE_CENTURY - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One century in milliseconds; convenient as a time-out value
ONE_DAY - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One day, in milliseconds; convenient as a time-out value *
ONE_HOUR - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One hour, in milliseconds; convenient as a time-out value *
ONE_HUNDRED_MB - Static variable in class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
The highest reasonable chunk size in bytes
ONE_MINUTE - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One minute, in milliseconds; convenient as a time-out value *
ONE_SECOND - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One second, in milliseconds; convenient as a time-out value *
ONE_WEEK - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One week, in milliseconds; convenient as a time-out value *
ONE_YEAR - Static variable in interface net.sf.ehcache.constructs.concurrent.Sync
One year in milliseconds; convenient as a time-out value Not that it matters, but there is some variation across standard sources about value at msec precision.
onException(Ehcache, Object, Exception) - Method in interface net.sf.ehcache.exceptionhandler.CacheExceptionHandler
Called if an Exception occurs in a Cache method.
overflowToDisk - Variable in class net.sf.ehcache.config.CacheConfiguration
whether elements can overflow to disk when the in-memory cache has reached the set limit.

P

PageFragmentCachingFilter - Class in net.sf.ehcache.constructs.web.filter
A Template for a page caching filter that is designed for "included" pages, eg: jsp:includes.
PageFragmentCachingFilter() - Constructor for class net.sf.ehcache.constructs.web.filter.PageFragmentCachingFilter
 
PageInfo - Class in net.sf.ehcache.constructs.web
A Serializable representation of a HttpServletResponse.
PageInfo(int, String, Collection, Collection, byte[], boolean) - Constructor for class net.sf.ehcache.constructs.web.PageInfo
Creates a PageInfo.
parseBoolean(String) - Static method in class net.sf.ehcache.util.PropertyUtil
Null safe, parser of boolean from a String
parseConfiguration(File) - Static method in class net.sf.ehcache.config.ConfigurationFactory
Configures a bean from an XML file.
parseConfiguration(URL) - Static method in class net.sf.ehcache.config.ConfigurationFactory
Configures a bean from an XML file available as an URL.
parseConfiguration() - Static method in class net.sf.ehcache.config.ConfigurationFactory
Configures a bean from an XML file in the classpath.
parseConfiguration(InputStream) - Static method in class net.sf.ehcache.config.ConfigurationFactory
Configures a bean from an XML input stream.
parseProperties(String, String) - Static method in class net.sf.ehcache.util.PropertyUtil
Parse properties supplied as a comma separated list into a Properties object
PayloadUtil - Class in net.sf.ehcache.distribution
This class provides utility methods for assembling and disassembling a heartbeat payload.
peek(Object) - Method in class net.sf.ehcache.jcache.JCache
The peek method will return the object associated with "key" if it currently exists (and is valid) in the cache.
peerUrls - Variable in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Contains a RMI URLs of the form: "//" + hostName + ":" + port + "/" + cacheName;
populateListOfRemoteCachePeers() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Should be called on init because this is one of the last things that should happen on CacheManager startup.
port - Variable in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
The RMI listener port
processInitParams(FilterConfig) - Method in class net.sf.ehcache.constructs.web.filter.Filter
Processes initialisation parameters.
processRemovedLRU(Object, Object) - Method in class net.sf.ehcache.store.LruMemoryStore.SpoolingLRUMap
Called after the element has been removed.
properties - Variable in class net.sf.ehcache.config.FactoryConfiguration
properties.
propertySeparator - Variable in class net.sf.ehcache.config.FactoryConfiguration
A property separator.
PropertyUtil - Class in net.sf.ehcache.util
Property utilities.
put(Element) - Method in class net.sf.ehcache.Cache
Put an element in the cache.
put(Element, boolean) - Method in class net.sf.ehcache.Cache
Put an element in the cache.
put(Element) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Adds an entry and unlocks it
put(Element, boolean) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Put an element in the cache.
put(Element) - Method in interface net.sf.ehcache.distribution.CachePeer
Put an element in the cache.
PUT - Static variable in class net.sf.ehcache.distribution.EventMessage
A put or update event.
put(Element) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Put an element in the cache.
PUT - Static variable in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
A put or update event.
put(Element) - Method in class net.sf.ehcache.distribution.RMICachePeer
Puts an Element into the underlying cache without notifying listeners or updating statistics.
put(Element) - Method in interface net.sf.ehcache.Ehcache
Put an element in the cache.
put(Element, boolean) - Method in interface net.sf.ehcache.Ehcache
Put an element in the cache.
put(Object, Object) - Method in class net.sf.ehcache.hibernate.EhCache
Puts an object into the cache.
put(Object, Object) - Method in class net.sf.ehcache.jcache.JCache
Associates the specified value with the specified key in this map (optional operation).
put(Object, Object, int) - Method in class net.sf.ehcache.jcache.JCache
Associates the specified value with the specified key in this map (optional operation).
put(Element) - Method in class net.sf.ehcache.store.DiskStore
Puts an element into the disk store.
put(Element) - Method in class net.sf.ehcache.store.MemoryStore
Puts an item in the cache.
put(Element) - Method in interface net.sf.ehcache.store.Store
Puts an item into the cache.
putAll(Map) - Method in class net.sf.ehcache.jcache.JCache
Copies all of the mappings from the specified map to this map (optional operation).
putQuiet(Element) - Method in class net.sf.ehcache.Cache
Put an element in the cache, without updating statistics, or updating listeners.
putQuiet(Element) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Put an element in the cache, without updating statistics, or updating listeners.
putQuiet(Element) - Method in interface net.sf.ehcache.Ehcache
Put an element in the cache, without updating statistics, or updating listeners.

Q

QUEUE_KEY - Static variable in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
The messageCache contains Command element values, and a queue that maintains their order.
queueForExecution(Command) - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Stores parameters in the AsynchronousCommandExecutor.MESSAGE_CACHE for later execution.

R

read(Object) - Method in class net.sf.ehcache.hibernate.EhCache
Gets an object from the cache.
refresh() - Method in class net.sf.ehcache.constructs.blocking.SelfPopulatingCache
Refresh the elements of this cache.
refresh() - Method in class net.sf.ehcache.constructs.blocking.UpdatingSelfPopulatingCache
This method should not be used.
refreshElement(Element, Ehcache) - Method in class net.sf.ehcache.constructs.blocking.SelfPopulatingCache
Refresh a single element.
registerCacheExtension(CacheExtension) - Method in class net.sf.ehcache.Cache
Register a CacheExtension with the cache.
registerCacheExtension(CacheExtension) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Register a CacheExtension with the cache.
registerCacheExtension(CacheExtension) - Method in interface net.sf.ehcache.Ehcache
Register a CacheExtension with the cache.
registerCacheExtensions(CacheConfiguration, Ehcache) - Static method in class net.sf.ehcache.config.ConfigurationHelper
A factory method to register cache extensions
registerCacheListeners(CacheConfiguration, RegisteredEventListeners) - Static method in class net.sf.ehcache.config.ConfigurationHelper
A factory method to create a RegisteredEventListeners
RegisteredEventListeners - Class in net.sf.ehcache.event
Registered listeners for registering and unregistering CacheEventListeners and multicasting notifications to registrants.
RegisteredEventListeners(Ehcache) - Constructor for class net.sf.ehcache.event.RegisteredEventListeners
Constructs a new notification service
registerListener(CacheManagerEventListener) - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Adds a listener to the notification service.
registerListener(CacheEventListener) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Adds a listener to the notification service.
registerMBeans(CacheManager, MBeanServer, boolean, boolean, boolean, boolean) - Static method in class net.sf.ehcache.management.ManagementService
A convenience static method which creates a ManagementService and initialises it with the supplied parameters.
registerPeer(String) - Method in interface net.sf.ehcache.distribution.CacheManagerPeerProvider
Register a new peer.
registerPeer(String) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Register a new peer.
registerPeer(String) - Method in class net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider
Register a new peer.
registerPeer(String) - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
Register a new peer, but only if the peer is new, otherwise the last seen timestamp is updated.
registerPeer(String) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Register a new peer
release() - Method in class net.sf.ehcache.constructs.concurrent.Mutex
Potentially enable others to pass.
release() - Method in interface net.sf.ehcache.constructs.concurrent.Sync
Potentially enable others to pass.
RemoteCacheException - Exception in net.sf.ehcache.distribution
A Cache Exception in the distribution mechanism.
RemoteCacheException() - Constructor for exception net.sf.ehcache.distribution.RemoteCacheException
Constructor for the RemoteCacheException object.
RemoteCacheException(String) - Constructor for exception net.sf.ehcache.distribution.RemoteCacheException
Constructor for the RemoteCacheException object.
RemoteCacheException(String, Throwable) - Constructor for exception net.sf.ehcache.distribution.RemoteCacheException
Constructor for the RemoteCacheException object.
removalAll() - Method in class net.sf.ehcache.CacheManager
Removes all caches using CacheManager.removeCache(java.lang.String) for each cache.
remove(Serializable) - Method in class net.sf.ehcache.Cache
Removes an Element from the Cache.
remove(Object) - Method in class net.sf.ehcache.Cache
Removes an Element from the Cache.
remove(Serializable, boolean) - Method in class net.sf.ehcache.Cache
Removes an Element from the Cache.
remove(Object, boolean) - Method in class net.sf.ehcache.Cache
Removes an Element from the Cache.
remove(Serializable) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes an Element from the Cache.
remove(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes an Element from the Cache.
remove(Serializable, boolean) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes an Element from the Cache.
remove(Object, boolean) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes an Element from the Cache.
remove(Serializable) - Method in interface net.sf.ehcache.distribution.CachePeer
Removes an Element from the Cache.
REMOVE - Static variable in class net.sf.ehcache.distribution.EventMessage
A remove or invalidate event.
remove(Serializable) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Removes an Element from the Cache.
REMOVE - Static variable in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
A remove or invalidate event.
remove(Serializable) - Method in class net.sf.ehcache.distribution.RMICachePeer
Removes an Element from the underlying cache without notifying listeners or updating statistics.
remove(Serializable) - Method in interface net.sf.ehcache.Ehcache
Removes an Element from the Cache.
remove(Object) - Method in interface net.sf.ehcache.Ehcache
Removes an Element from the Cache.
remove(Serializable, boolean) - Method in interface net.sf.ehcache.Ehcache
Removes an Element from the Cache.
remove(Object, boolean) - Method in interface net.sf.ehcache.Ehcache
Removes an Element from the Cache.
remove(Object) - Method in class net.sf.ehcache.hibernate.EhCache
Removes the element which matches the key.
remove(Object) - Method in class net.sf.ehcache.jcache.JCache
Removes the mapping for this key from this map if it is present (optional operation).
remove(Object) - Method in class net.sf.ehcache.store.DiskStore
Removes an item from the disk store.
remove(Object) - Method in class net.sf.ehcache.store.MemoryStore
Removes an Element from the store.
remove(Object) - Method in interface net.sf.ehcache.store.Store
Removes an item from the cache.
REMOVE_ALL - Static variable in class net.sf.ehcache.distribution.EventMessage
A removeAll, which removes all elements from a cache
REMOVE_ALL - Static variable in class net.sf.ehcache.distribution.jgroups.JGroupSerializable
A removeAll, which removes all elements from a cache
removeAll() - Method in class net.sf.ehcache.Cache
Removes all cached items.
removeAll(boolean) - Method in class net.sf.ehcache.Cache
Removes all cached items.
removeAll() - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes all cached items.
removeAll(boolean) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes all cached items.
removeAll() - Method in interface net.sf.ehcache.distribution.CachePeer
Removes all cached items.
removeAll() - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Removes all cached items.
removeAll() - Method in class net.sf.ehcache.distribution.RMICachePeer
Removes all cached items.
removeAll() - Method in interface net.sf.ehcache.Ehcache
Removes all cached items.
removeAll(boolean) - Method in interface net.sf.ehcache.Ehcache
Removes all cached items.
removeAll() - Method in class net.sf.ehcache.management.Cache
Removes all cached items.
removeAll() - Method in interface net.sf.ehcache.management.CacheMBean
Removes all cached items.
removeAll() - Method in class net.sf.ehcache.store.DiskStore
Remove all of the elements from the store.
removeAll() - Method in class net.sf.ehcache.store.MemoryStore
Remove all of the elements from the store.
removeAll() - Method in interface net.sf.ehcache.store.Store
Remove all of the elements from the store.
removeCache(String) - Method in class net.sf.ehcache.CacheManager
Remove a cache from the CacheManager.
removeEldestEntry(Map.Entry) - Method in class net.sf.ehcache.store.LruMemoryStore.SpoolingLinkedHashMap
Returns true if this map should remove its eldest entry.
removeListener(CacheListener) - Method in class net.sf.ehcache.jcache.JCache
Remove a listener from the list of cache listeners
removeQuiet(Serializable) - Method in class net.sf.ehcache.Cache
Removes an Element from the Cache, without notifying listeners.
removeQuiet(Object) - Method in class net.sf.ehcache.Cache
Removes an Element from the Cache, without notifying listeners.
removeQuiet(Serializable) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes an Element from the Cache, without notifying listeners.
removeQuiet(Object) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Removes an Element from the Cache, without notifying listeners.
removeQuiet(Serializable) - Method in interface net.sf.ehcache.Ehcache
Removes an Element from the Cache, without notifying listeners.
removeQuiet(Object) - Method in interface net.sf.ehcache.Ehcache
Removes an Element from the Cache, without notifying listeners.
replaceCacheWithDecoratedCache(Ehcache, Ehcache) - Method in class net.sf.ehcache.CacheManager
Replaces in the map of Caches managed by this CacheManager an Ehcache with a decorated version of the same Ehcache.
replaceEhcacheWithJCache(Ehcache, JCache) - Method in class net.sf.ehcache.CacheManager
Replaces in the map of Caches managed by this CacheManager an Ehcache with a JCache decorated version of the same (see Ehcache equals method) Ehcache, in a single synchronized method.
replaceToken(String, String, String) - Static method in class net.sf.ehcache.config.DiskStoreConfiguration
Replaces a token with replacement text.
replicatePuts - Variable in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Whether to replicate puts.
replicateRemovals - Variable in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Whether to replicate removes
replicateUpdates - Variable in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Whether to replicate updates.
replicateUpdatesViaCopy - Variable in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Whether an update (a put) should be by copy or by invalidation, (a remove).
replicationQueue - Variable in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
A queue of updates.
replicationThread - Variable in class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
A thread which handles replication, so that replication can take place asynchronously and not hold up the cache
reset() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Resets the response.
resetAccessStatistics() - Method in class net.sf.ehcache.Element
Resets the hit count to 0 and the last access time to 0.
resetBuffer() - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Resets the buffers.
ResponseHeadersNotModifiableException - Exception in net.sf.ehcache.constructs.web
The HttpServletResponse.setHeader(String, String) method sets a response header with the given name and value.
ResponseHeadersNotModifiableException() - Constructor for exception net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException
Constructor for the exception
ResponseHeadersNotModifiableException(String) - Constructor for exception net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException
Constructs an exception with the message given
ResponseUtil - Class in net.sf.ehcache.constructs.web
A collection of response processing utilities, which are shared between 2 or more filters
RetryAttemptTooSoonException - Exception in net.sf.ehcache.constructs.asynchronous
Thrown to indicate an attempt to retry execution of the command was made before it is allowed.
RetryAttemptTooSoonException(String) - Constructor for exception net.sf.ehcache.constructs.asynchronous.RetryAttemptTooSoonException
Constructs a new exception with the specified detail message.
RetryAttemptTooSoonException(String, Throwable) - Constructor for exception net.sf.ehcache.constructs.asynchronous.RetryAttemptTooSoonException
Constructs a new exception with the specified detail message and cause.
RMIAsynchronousCacheReplicator - Class in net.sf.ehcache.distribution
Listens to CacheManager and Cache events and propagates those to CachePeer peers of the Cache asynchronously.
RMIAsynchronousCacheReplicator(boolean, boolean, boolean, boolean, int) - Constructor for class net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator
Constructor for internal and subclass use
RMIBootstrapCacheLoader - Class in net.sf.ehcache.distribution
Loads Elements from a random Cache Peer
RMIBootstrapCacheLoader(boolean, int) - Constructor for class net.sf.ehcache.distribution.RMIBootstrapCacheLoader
Creates a boostrap cache loader that will work with RMI based distribution
RMIBootstrapCacheLoaderFactory - Class in net.sf.ehcache.distribution
A factory to create a configured RMIBootstrapCacheLoader
RMIBootstrapCacheLoaderFactory() - Constructor for class net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
 
RMICacheManagerPeerListener - Class in net.sf.ehcache.distribution
A cache server which exposes available cache operations remotely through RMI.
RMICacheManagerPeerListener(String, Integer, Integer, CacheManager, Integer) - Constructor for class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Constructor with full arguments.
RMICacheManagerPeerListenerFactory - Class in net.sf.ehcache.distribution
Builds a listener based on RMI.
RMICacheManagerPeerListenerFactory() - Constructor for class net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory
 
RMICacheManagerPeerProvider - Class in net.sf.ehcache.distribution
A provider of Peer RMI addresses.
RMICacheManagerPeerProvider(CacheManager) - Constructor for class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Constructor
RMICacheManagerPeerProvider() - Constructor for class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Empty constructor
RMICacheManagerPeerProviderFactory - Class in net.sf.ehcache.distribution
Builds a factory based on RMI
RMICacheManagerPeerProviderFactory() - Constructor for class net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory
 
RMICachePeer - Class in net.sf.ehcache.distribution
An RMI based implementation of CachePeer.
RMICachePeer(Ehcache, String, Integer, Integer, Integer) - Constructor for class net.sf.ehcache.distribution.RMICachePeer
Construct a new remote peer.
RMICacheReplicatorFactory - Class in net.sf.ehcache.distribution
Creates an RMICacheReplicator using properties.
RMICacheReplicatorFactory() - Constructor for class net.sf.ehcache.distribution.RMICacheReplicatorFactory
 
RMISynchronousCacheReplicator - Class in net.sf.ehcache.distribution
Listens to CacheManager and Cache events and propagates those to CachePeer peers of the Cache.
RMISynchronousCacheReplicator(boolean, boolean, boolean, boolean) - Constructor for class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Constructor for internal and subclass use

S

sampleElements(int) - Method in class net.sf.ehcache.store.LfuMemoryStore
Uses random numbers to sample the entire map.
selectLock(Object, int) - Static method in class net.sf.ehcache.constructs.concurrent.ConcurrencyUtil
Selects a lock for a key.
SelfPopulatingCache - Class in net.sf.ehcache.constructs.blocking
A selfpopulating decorator for Ehcache that creates entries on demand.
SelfPopulatingCache(Ehcache, CacheEntryFactory) - Constructor for class net.sf.ehcache.constructs.blocking.SelfPopulatingCache
Creates a SelfPopulatingCache.
send(List) - Method in interface net.sf.ehcache.distribution.CachePeer
Send the cache peer with an ordered list of EventMessages.
send(List) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Send the cache peer with an ordered list of EventMessages.
send(List) - Method in class net.sf.ehcache.distribution.RMICachePeer
Send the cache peer with an ordered list of EventMessages

This enables multiple messages to be delivered in one network invocation.

sendError(int, String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Send the error.
sendError(int) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Send the error.
sendNotification(Ehcache, JGroupEventMessage) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Used to send notification to the peer.
sendRedirect(String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Send the redirect.
SerializableCookie - Class in net.sf.ehcache.constructs.web
A serializable cookie which wraps Cookie.
SerializableCookie(Cookie) - Constructor for class net.sf.ehcache.constructs.web.SerializableCookie
Creates a cookie.
serialize(Serializable, int) - Static method in class net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream
Factory method
serialize(Serializable) - Static method in class net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream
Factory method.
setAsynchronousReplicationInterval(long) - Method in class net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicator
Set the time inteval for asynchronous replication
setBootstrapCacheLoader(BootstrapCacheLoader) - Method in class net.sf.ehcache.Cache
Sets the bootstrap cache loader.
setBootstrapCacheLoader(BootstrapCacheLoader) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets the bootstrap cache loader.
setBootstrapCacheLoader(BootstrapCacheLoader) - Method in interface net.sf.ehcache.Ehcache
Sets the bootstrap cache loader.
setCacheExceptionHandler(CacheExceptionHandler) - Method in class net.sf.ehcache.Cache
Sets an ExceptionHandler on the Cache.
setCacheExceptionHandler(CacheExceptionHandler) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets an ExceptionHandler on the Cache.
setCacheExceptionHandler(CacheExceptionHandler) - Method in interface net.sf.ehcache.Ehcache
Sets an ExceptionHandler on the Cache.
setCacheLoader(CacheLoader) - Method in class net.sf.ehcache.Cache
Setter for the CacheLoader.
setCacheLoader(CacheLoader) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
This method is not appropriate to use with BlockingCache.
setCacheLoader(CacheLoader) - Method in interface net.sf.ehcache.Ehcache
Setter for the CacheLoader.
setCacheLoader(CacheLoader) - Method in class net.sf.ehcache.jcache.JCache
Setter for the CacheLoader.
setCacheManager(CacheManager) - Method in class net.sf.ehcache.Cache
For use by CacheManager.
setCacheManager(CacheManager) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets the CacheManager
setCacheManager(CacheManager) - Method in interface net.sf.ehcache.Ehcache
Sets the CacheManager
setCacheManagerEventListener(CacheManagerEventListener) - Method in class net.sf.ehcache.CacheManager
Deprecated. Use getCacheManagerEventListenerRegistry instead
setClass(String) - Method in class net.sf.ehcache.config.FactoryConfiguration
Sets the class name.
setContentLength(int) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Sets the content length.
setContentType(HttpServletResponse, PageInfo) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Set the content type
setContentType(String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Sets the content type.
setCookies(PageInfo, HttpServletResponse) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Set the serializableCookies
setCreateTime() - Method in class net.sf.ehcache.Element
Sets the creationTime attribute of the ElementAttributes object.
setDefaultCacheConfiguration(CacheConfiguration) - Method in class net.sf.ehcache.config.Configuration
 
setDisabled(boolean) - Method in class net.sf.ehcache.Cache
Disables or enables this cache.
setDisabled(boolean) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Disables or enables this cache.
setDisabled(boolean) - Method in interface net.sf.ehcache.Ehcache
Disables or enables this cache.
setDiskExpiryThreadIntervalSeconds(long) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the interval in seconds between runs of the disk expiry thread.
setDiskPersistent(boolean) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets whether, for caches that overflow to disk, the disk cache persist between CacheManager instances.
setDiskSpoolBufferSizeMB(int) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the disk spool size
setDiskStorePath(String) - Method in class net.sf.ehcache.Cache
DiskStore paths can conflict between CacheManager instances.
setDiskStorePath(String) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
DiskStore paths can conflict between CacheManager instances.
setDiskStorePath(String) - Method in interface net.sf.ehcache.Ehcache
DiskStore paths can conflict between CacheManager instances.
setDispatcherThreadIntervalSeconds(long) - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Sets the interval between runs of the dispatch thread, when no new dispatch invocations have occurred.
setDocumentLocator(Locator) - Method in class net.sf.ehcache.config.BeanHandler
Receive a Locator object for document events.
setEternal(boolean) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets whether elements are eternal.
setEternal(boolean) - Method in class net.sf.ehcache.Element
Sets whether the element is eternal.
setHeader(String, String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
 
setHeaders(PageInfo, boolean, HttpServletResponse) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Set the headers in the response object, excluding the Gzip header
setHeartBeatInterval(long) - Static method in class net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
Sets the heartbeat interval to something other than the default of 5000ms.
setMaxElementsInMemory(int) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the maximum objects to be held in memory.
setMaxElementsOnDisk(int) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the maximum number elements on Disk.
setMemoryStoreEvictionPolicy(String) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the eviction policy.
setMemoryStoreEvictionPolicyFromObject(MemoryStoreEvictionPolicy) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the eviction policy.
setMimeType(String) - Method in class net.sf.ehcache.MimeTypeByteArray
 
setName(String) - Method in class net.sf.ehcache.Cache
Sets the cache name which will name.
setName(String) - Method in class net.sf.ehcache.CacheManager
Sets the name of the CacheManager.
setName(String) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the name of the cache.
setName(String) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets the cache name which will name.
setName(String) - Method in interface net.sf.ehcache.Ehcache
Sets the cache name which will name.
setOverflowToDisk(boolean) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets whether elements can overflow to disk when the in-memory cache has reached the set limit.
setPath(String) - Method in class net.sf.ehcache.config.DiskStoreConfiguration
Translates and sets the path.
setProperties(String) - Method in class net.sf.ehcache.config.FactoryConfiguration
Sets the configuration properties.
setPropertySeparator(String) - Method in class net.sf.ehcache.config.FactoryConfiguration
Setter
setSource(String) - Method in class net.sf.ehcache.config.Configuration
Sets the configuration source.
setStatisticsAccuracy(int) - Method in class net.sf.ehcache.Cache
Sets the statistics accuracy.
setStatisticsAccuracy(int) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets the statistics accuracy.
setStatisticsAccuracy(int) - Method in interface net.sf.ehcache.Ehcache
Sets the statistics accuracy.
setStatisticsAccuracy(int) - Method in class net.sf.ehcache.jcache.JCache
Sets the statistics accuracy.
setStatus(HttpServletResponse, PageInfo) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Status code
setStatus(int) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Sets the status code for this response.
setStatus(int, String) - Method in class net.sf.ehcache.constructs.web.GenericResponseWrapper
Sets the status code for this response.
setTimeoutMillis(int) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Sets the time to wait to acquire a lock.
setTimeToIdle(int) - Method in class net.sf.ehcache.Element
Sets time to idle
setTimeToIdleSeconds(long) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the time to idle for an element before it expires.
setTimeToLive(int) - Method in class net.sf.ehcache.Element
Sets time to Live
setTimeToLiveSeconds(long) - Method in class net.sf.ehcache.config.CacheConfiguration
Sets the time to idle for an element before it expires.
setUnsafeDispatcherThreadIntervalSeconds(long) - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
Sets the interval between runs of the dispatch thread, when no new dispatch invocations have occurred.
setValue(Object) - Method in class net.sf.ehcache.jcache.JCacheEntry
Replaces the value corresponding to this entry with the specified value (optional operation).
setValue(byte[]) - Method in class net.sf.ehcache.MimeTypeByteArray
 
setVersion(long) - Method in class net.sf.ehcache.Element
Sets the version attribute of the ElementAttributes object.
SHORT_DELAY - Static variable in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
One tenth of a second, in ms
shouldBodyBeZero(HttpServletRequest, int) - Static method in class net.sf.ehcache.constructs.web.ResponseUtil
Performs a number of checks to ensure response saneness according to the rules of RFC2616: If the response code is HttpServletResponse.SC_NO_CONTENT then it is illegal for the body to contain anything.
shouldGzippedBodyBeZero(byte[], HttpServletRequest) - Static method in class net.sf.ehcache.constructs.web.ResponseUtil
Checks whether a gzipped body is actually empty and should just be zero.
shutdown() - Method in class net.sf.ehcache.CacheManager
Shuts down the CacheManager.
shutdown() - Method in class net.sf.ehcache.management.CacheManager
Shuts down the CacheManager.
shutdown() - Method in interface net.sf.ehcache.management.CacheManagerMBean
Shuts down the CacheManager.
ShutdownListener - Class in net.sf.ehcache.constructs.web
A ServletContextListener that shutsdown CacheManager.
ShutdownListener() - Constructor for class net.sf.ehcache.constructs.web.ShutdownListener
 
SimplePageCachingFilter - Class in net.sf.ehcache.constructs.web.filter
A simple page CachingFilter suitable for most uses.
SimplePageCachingFilter() - Constructor for class net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter
 
SimplePageFragmentCachingFilter - Class in net.sf.ehcache.constructs.web.filter
A simple page fragment CachingFilter suitable for most uses.
SimplePageFragmentCachingFilter() - Constructor for class net.sf.ehcache.constructs.web.filter.SimplePageFragmentCachingFilter
 
SingletonEhCacheProvider - Class in net.sf.ehcache.hibernate
Singleton cache Provider plugin for Hibernate 3.2 and ehcache-1.2.
SingletonEhCacheProvider() - Constructor for class net.sf.ehcache.hibernate.SingletonEhCacheProvider
 
size() - Method in class net.sf.ehcache.jcache.JCache
Returns the number of key-value mappings in this map.
spoolAllToDisk() - Method in class net.sf.ehcache.store.MemoryStore
Spools all elements to disk, in preparation for shutdown.
spoolToDisk(Element) - Method in class net.sf.ehcache.store.MemoryStore
Puts the element in the DiskStore.
stale(Date) - Method in class net.sf.ehcache.distribution.ManualRMICacheManagerPeerProvider
Whether the entry should be considered stale.
stale(Date) - Method in class net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
Whether the entry should be considered stale.
stale(Date) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Whether the entry should be considered stale.
start(Properties) - Method in class net.sf.ehcache.hibernate.EhCacheProvider
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
start(Properties) - Method in class net.sf.ehcache.hibernate.SingletonEhCacheProvider
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
startElement(String, String, String, Attributes) - Method in class net.sf.ehcache.config.BeanHandler
Receive notification of the start of an element.
startRegistry() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Start the rmiregistry.
Statistics - Class in net.sf.ehcache
An immutable Cache statistics implementation}

This is like a value object, with the added ability to clear cache statistics on the cache.

Statistics(Ehcache, int, long, long, long, long, long, float, long) - Constructor for class net.sf.ehcache.Statistics
Creates a new statistics object, associated with a Cache
STATISTICS_ACCURACY_BEST_EFFORT - Static variable in class net.sf.ehcache.Statistics
Best efforts accuracy setting.
STATISTICS_ACCURACY_GUARANTEED - Static variable in class net.sf.ehcache.Statistics
Guaranteed accuracy setting.
STATISTICS_ACCURACY_NONE - Static variable in class net.sf.ehcache.Statistics
Fast but not accurate setting.
status - Variable in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
status.
status - Variable in class net.sf.ehcache.distribution.RMISynchronousCacheReplicator
The status of the replicator.
Status - Class in net.sf.ehcache
A pre JDK1.5 compatible enum class to indicate the status of a CacheManager or Cache.
status - Variable in class net.sf.ehcache.store.MemoryStore
status.
STATUS_ALIVE - Static variable in class net.sf.ehcache.Status
The cache is alive.
STATUS_SHUTDOWN - Static variable in class net.sf.ehcache.Status
The cache is shudown.
STATUS_UNINITIALISED - Static variable in class net.sf.ehcache.Status
The cache is uninitialised.
stop() - Method in class net.sf.ehcache.hibernate.EhCacheProvider
Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().
stop() - Method in class net.sf.ehcache.hibernate.SingletonEhCacheProvider
Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().
stopRegistry() - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Stop the rmiregistry if it was started by this class.
Store - Interface in net.sf.ehcache.store
This is the interface for all stores.
storeCommandToCache(AsynchronousCommandExecutor.InstrumentedCommand) - Method in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
 
SUCCESSFUL_EXECUTION - Static variable in class net.sf.ehcache.constructs.asynchronous.AsynchronousCommandExecutor
The command completed successfully
suppressStackTraces - Variable in class net.sf.ehcache.constructs.web.filter.Filter
Most Throwables in Web applications propagate to the user.
Sync - Interface in net.sf.ehcache.constructs.concurrent
 

T

timeoutMillis - Variable in class net.sf.ehcache.constructs.blocking.BlockingCache
The amount of time to block a thread before a LockTimeoutException is thrown
timeToIdleSeconds - Variable in class net.sf.ehcache.config.CacheConfiguration
the time to idle for an element before it expires.
timeToLiveSeconds - Variable in class net.sf.ehcache.config.CacheConfiguration
Sets the time to idle for an element before it expires.
toCookie() - Method in class net.sf.ehcache.constructs.web.SerializableCookie
Builds a Cookie object from this object.
toMap() - Method in class net.sf.ehcache.hibernate.EhCache
 
TooManyRetriesException - Exception in net.sf.ehcache.constructs.asynchronous
Thrown when a command has unsuccessfully tried to be executed more than its retry limit.
TooManyRetriesException(String) - Constructor for exception net.sf.ehcache.constructs.asynchronous.TooManyRetriesException
Constructs a new exception with the specified detail message.
TooManyRetriesException(String, Throwable) - Constructor for exception net.sf.ehcache.constructs.asynchronous.TooManyRetriesException
Constructs a new exception with the specified detail message and cause.
toString() - Method in class net.sf.ehcache.Cache
Returns a String representation of Cache.
toString() - Method in class net.sf.ehcache.CacheManager
 
toString() - Method in class net.sf.ehcache.distribution.RMICachePeer
Returns a String that represents the value of this object.
toString() - Method in interface net.sf.ehcache.Ehcache
Returns a String representation of Cache.
toString() - Method in class net.sf.ehcache.Element
Returns a String representation of the Element.
toString() - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Returns a string representation of the object.
toString() - Method in class net.sf.ehcache.event.RegisteredEventListeners
Returns a string representation of the object.
toString() - Method in class net.sf.ehcache.hibernate.EhCache
 
toString() - Method in class net.sf.ehcache.jcache.JCache
Returns a String representation of the underlying Cache.
toString() - Method in class net.sf.ehcache.Statistics
Returns a String representation of the Ehcache statistics.
toString() - Method in class net.sf.ehcache.Status
Returns a string representation of the object.
toString() - Method in class net.sf.ehcache.store.DiskStore
Returns a String representation of the DiskStore
toString() - Method in class net.sf.ehcache.store.MemoryStoreEvictionPolicy
 

U

unbind(RMICachePeer) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerListener
Unbinds an RMICachePeer and unexports it.
ungzip(byte[]) - Static method in class net.sf.ehcache.distribution.PayloadUtil
The fastest Ungzip implementation.
unlock(Object) - Method in class net.sf.ehcache.hibernate.EhCache
Calls to this method should perform their own synchronization.
unregisterCacheExtension(CacheExtension) - Method in class net.sf.ehcache.Cache
Unregister a CacheExtension with the cache.
unregisterCacheExtension(CacheExtension) - Method in class net.sf.ehcache.constructs.blocking.BlockingCache
Unregister a CacheExtension with the cache.
unregisterCacheExtension(CacheExtension) - Method in interface net.sf.ehcache.Ehcache
Unregister a CacheExtension with the cache.
unregisterListener(CacheManagerEventListener) - Method in class net.sf.ehcache.event.CacheManagerEventListenerRegistry
Removes a listener from the notification service.
unregisterListener(CacheEventListener) - Method in class net.sf.ehcache.event.RegisteredEventListeners
Removes a listener from the notification service.
unregisterPeer(String) - Method in interface net.sf.ehcache.distribution.CacheManagerPeerProvider
Unregisters a peer.
unregisterPeer(String) - Method in class net.sf.ehcache.distribution.jgroups.JGroupManager
Unregisters a peer.
unregisterPeer(String) - Method in class net.sf.ehcache.distribution.RMICacheManagerPeerProvider
Unregisters a peer
update(Object) - Method in class net.sf.ehcache.constructs.blocking.UpdatingSelfPopulatingCache
Element can never be null.
update(Object, Object) - Method in class net.sf.ehcache.hibernate.EhCache
Updates an object in the cache, or if it does not exist, inserts it.
updateAccessStatistics() - Method in class net.sf.ehcache.Element
Sets the last access time to now.
updateEntryValue(Object, Object) - Method in interface net.sf.ehcache.constructs.blocking.UpdatingCacheEntryFactory
Perform an incremental update of data within a CacheEntry.
updateUpdateStatistics() - Method in class net.sf.ehcache.Element
Sets the last access time to now.
UpdatingCacheEntryFactory - Interface in net.sf.ehcache.constructs.blocking
A CacheEntryFactory with one additional method, updateEntryValue((Serializable key, Serializable value) which allows the cache entry to updated rather than replaced.
UpdatingSelfPopulatingCache - Class in net.sf.ehcache.constructs.blocking
A Cache backed cache that creates entries on demand.
UpdatingSelfPopulatingCache(Ehcache, UpdatingCacheEntryFactory) - Constructor for class net.sf.ehcache.constructs.blocking.UpdatingSelfPopulatingCache
Creates a SelfPopulatingCache.
URL_DELIMITER - Static variable in class net.sf.ehcache.distribution.PayloadUtil
Delmits URLS sent via heartbeats over sockets

V

values() - Method in class net.sf.ehcache.jcache.JCache
Returns a collection view of the values contained in this map.

W

write(int) - Method in class net.sf.ehcache.constructs.web.filter.FilterServletOutputStream
Writes to the stream.
write(byte[]) - Method in class net.sf.ehcache.constructs.web.filter.FilterServletOutputStream
Writes to the stream.
write(byte[], int, int) - Method in class net.sf.ehcache.constructs.web.filter.FilterServletOutputStream
Writes to the stream.
writeContent(HttpServletRequest, HttpServletResponse, PageInfo) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Writes the response content.
writeResponse(HttpServletRequest, HttpServletResponse, PageInfo) - Method in class net.sf.ehcache.constructs.web.filter.CachingFilter
Writes the response from a PageInfo object.
writeResponse(HttpServletResponse, PageInfo) - Method in class net.sf.ehcache.constructs.web.filter.PageFragmentCachingFilter
Assembles a response from a cached page include.

A B C D E F G H I J K L M N O P Q R S T U V W
ehcache