|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeCacheListener
Callbacks for various events regarding TreeCache. Implementers should avoid performing long running actions, as this blocks the cache. If you have to do so, please start a new thread.
Method Summary | |
---|---|
void |
cacheStarted(TreeCache cache)
Called when the cache is started. |
void |
cacheStopped(TreeCache cache)
Called when the cache is stopped. |
void |
nodeCreated(Fqn fqn)
Called when a node is created |
void |
nodeEvicted(Fqn fqn)
Called when a node is evicted (not the same as remove()). |
void |
nodeLoaded(Fqn fqn)
Called when a node is loaded into memory via the CacheLoader. |
void |
nodeModified(Fqn fqn)
Called when a node is modified, e.g., one (key, value) pair in the internal map storage has been modified. |
void |
nodeRemoved(Fqn fqn)
Called when a node is removed. |
void |
nodeVisited(Fqn fqn)
Called when a node is visisted, i.e., get(). |
void |
viewChange(org.jgroups.View new_view)
|
Method Detail |
---|
void nodeCreated(Fqn fqn)
fqn
- void nodeRemoved(Fqn fqn)
fqn
- void nodeLoaded(Fqn fqn)
nodeCreated(Fqn)
.
void nodeEvicted(Fqn fqn)
fqn
- void nodeModified(Fqn fqn)
fqn
- void nodeVisited(Fqn fqn)
fqn
- void cacheStarted(TreeCache cache)
cache
- void cacheStopped(TreeCache cache)
cache
- void viewChange(org.jgroups.View new_view)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |