|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManagerListener
Interface for listeners interested in CacheManager
Cache
related events, such as
addition and removal.
Method Summary | |
---|---|
void |
cacheAdded(java.lang.String alias,
Cache<?,?> cache)
Fires just after the @{link Cache} was made Status.AVAILABLE , but wasn't yet made available
to other threads by the CacheManager . |
void |
cacheRemoved(java.lang.String alias,
Cache<?,?> cache)
Fires just after the @{link Cache} was deregistered with the CacheManager , but wasn't yet made
Status.UNINITIALIZED . |
Methods inherited from interface org.ehcache.core.events.StateChangeListener |
---|
stateTransition |
Method Detail |
---|
void cacheAdded(java.lang.String alias, Cache<?,?> cache)
Status.AVAILABLE
, but wasn't yet made available
to other threads by the CacheManager
. Nonetheless, no other thread can add another Cache
instance by the same alias.
alias
- the alias the Cache
is being registered oncache
- the actual Cache
addedvoid cacheRemoved(java.lang.String alias, Cache<?,?> cache)
CacheManager
, but wasn't yet made
Status.UNINITIALIZED
. So that no other thread can get a handle to this Cache
anymore,
but the CacheManagerListener
can still interact with it
alias
- the alias the Cache
is being deregisteredcache
- the actual Cache
being removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |