|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void nodeCreated(Fqn fqn)
fqn
- public void nodeRemoved(Fqn fqn)
fqn
- public void nodeLoaded(Fqn fqn)
nodeCreated(Fqn)
.
public void nodeEvicted(Fqn fqn)
fqn
- public void nodeModified(Fqn fqn)
fqn
- public void nodeVisited(Fqn fqn)
fqn
- public void cacheStarted(TreeCache cache)
cache
- public void cacheStopped(TreeCache cache)
cache
- public void viewChange(org.jgroups.View new_view)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |