|
||||||||||
PREV CLASS (src) 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 (src) cache)
Called when the cache is started. |
void |
cacheStopped(TreeCache (src) cache)
Called when the cache is stopped. |
void |
nodeCreated(Fqn (src) fqn)
Called when a node is created |
void |
nodeEvicted(Fqn (src) fqn)
Called when a node is evicted (not the same as remove()). |
void |
nodeLoaded(Fqn (src) fqn)
Called when a node is loaded into memory via the CacheLoader. |
void |
nodeModified(Fqn (src) fqn)
Called when a node is modified, e.g., one (key, value) pair in the internal map storage has been modified. |
void |
nodeRemoved(Fqn (src) fqn)
Called when a node is removed. |
void |
nodeVisited(Fqn (src) fqn)
Called when a node is visisted, i.e., get(). |
void |
viewChange(View new_view)
|
Method Detail |
public void nodeCreated(Fqn (src) fqn)
fqn
- public void nodeRemoved(Fqn (src) fqn)
fqn
- public void nodeLoaded(Fqn (src) fqn)
nodeCreated(Fqn)
.
public void nodeEvicted(Fqn (src) fqn)
fqn
- public void nodeModified(Fqn (src) fqn)
fqn
- public void nodeVisited(Fqn (src) fqn)
fqn
- public void cacheStarted(TreeCache (src) cache)
cache
- public void cacheStopped(TreeCache (src) cache)
cache
- public void viewChange(View new_view)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |