- get
Gets an element from the cache. Updates Element Statistics Note that the
Element's lastAccessTime is
- put
Put an element in the cache. Resets the access statistics on the element, which
would be the case if
- remove
Removes an net.sf.ehcache.Element from the Cache. This also removes it from any
stores it may be in.
- removeAll
Removes all cached items. When using Terracotta clustered caches with nonstop
enabled, the timeout u
- getName
Gets the cache name.
- getCacheEventNotificationService
Use this to access the service in order to register and unregister listeners
- getKeys
Returns a list of all elements in the cache, whether or not they are expired.
The returned keys are
- getSize
Gets the size of the cache. This is a subtle concept. See below. The size is the
number of net.sf.eh
- getCacheConfiguration
Gets the cache configuration this cache was created with. Things like listeners
that are added dynam
- isKeyInCache
An inexpensive check to see if the key exists in the cache. Since no assertions
are made about the s
- getStatistics
Gets an immutable Statistics object representing the Cache statistics at the
time.
- getCacheManager
Gets the CacheManager managing this cache. For a newly created cache this will
be null until it has