|
ehcache | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Cache
based on the defaultCache with the given name.
Cache
to the CacheManager.
BeanHandler
to add Cache Configurations to the configuration.
BeanHandler
to add the CacheManagerEventListener to the configuration.
BeanHandler
to add a default configuration to the configuration.
BeanHandler
to add disk store location to the configuration.
STATUS_ALIVE
.
STATUS_ALIVE
.
ConfigurationFactory
and clients can create these.
Cache
s that maintain all aspects of their lifecycle.CacheManager
event occurs.CachePeer
RMI listener peers for a Cache.ConfigurationFactory
, and can be also sued programmatically.
CacheEventListener
which is also a CacheReplicator.
CacheEventListener
CacheEventListener
Element
.
Element
from the Disk Store.
CacheManagerPeerProvider
For distributed caches, the peer provider finds other cache managers and their caches in the same cluster
Cache
instance.
Cache
instance.
MemoryStore
.
Element
from the Disk Store, without updating statistics
ClassLoader
that all classes in ehcache, and extensions, should use for classloading.
DiskStore.dispose()
method is called,
at which time it should be interrupted and then die.
LinkedHashMap
is created with LRU by access order.
LruMemoryStore.SpoolingLinkedHashMap.removeEldestEntry(java.util.Map.Entry)
to persist cache entries to the auxiliary cache before they are removed.MulticastKeepaliveHeartbeatSender
s out there.MemoryStore
.
MemoryStore
.
Cache.remove(Object)
method will block until this method returns.
As the Element
has been expired, only what was the key of the element is known.
Elements are checked for expiry in ehcache at the following times:
Cache.DEFAULT_EXPIRY_THREAD_INTERVAL_SECONDS
Cache.put(net.sf.ehcache.Element)
method
will block until this method returns.
Implementers may wish to have access to the Element's fields, including value, so the element is provided.
Implementers should be careful not to modify the element. The effect of any modifications is undefined.
This implementation queues the put notification for in-order replication to peers.
CacheEventListener
s they are notified of the expiry or removal
of the Element
as each is removed.
Properties
object
CacheManager
and Cache
events and propagates those to
CachePeer
peers of the Cache asynchronously.CachePeer
.CacheManager
and Cache
events and propagates those to
CachePeer
peers of the Cache.CacheManager.removeCache(java.lang.String)
for each cache.
Element
from the Cache.
Element
from the Cache.
Element
from the Cache.
Element
from the Cache.
Element
from the Cache.
Element
from the Cache, without notifying listeners.
Element
from the Cache, without notifying listeners.
CacheManager
or Cache
.EventMessage
s.
EventMessage
s
This enables multiple messages to be delivered in one network invocation.
String
representation of Cache
.
String
representation of the Element
.
String
representation of the DiskStore
|
ehcache | ||||||||||
PREV NEXT | FRAMES NO FRAMES |