|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Callbacks for various events regarding TreeCache.
This interface is an extension to TreeCacheListener to include newly added event types in release 1.2.4. We will merge it with TreeCacheListener in release 1.3.
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 |
nodeActivate(Fqn fqn,
boolean pre)
Called when a node is to be or has been activated into memory via the CacheLoader that was evicted earlier. |
void |
nodeEvict(Fqn fqn,
boolean pre)
Called when a node is about to be evicted or has been evicted from the in-memory cache. |
void |
nodeModify(Fqn fqn,
boolean pre,
boolean isLocal)
Called when a node is about to be modified or has been modified. |
void |
nodePassivate(Fqn fqn,
boolean pre)
Called when a node is to be or has been written to the backend store via the cache loader due to a node eviction by the eviction policy provider |
void |
nodeRemove(Fqn fqn,
boolean pre,
boolean isLocal)
Called when a node is about to be removed or has been removed from the in-memory cache. |
Method Detail |
public void nodeEvict(Fqn fqn, boolean pre)
TreeCacheListener.nodeEvicted(Fqn)
which will be merged with method in release 1.3.
fqn
- pre
- TreeCacheListener.nodeEvicted(Fqn)
public void nodeRemove(Fqn fqn, boolean pre, boolean isLocal)
TreeCacheListener.nodeRemoved(Fqn)
which will be merged with this method in release 1.3.
fqn
- pre
- isLocal
- TreeCacheListener.nodeRemoved(Fqn)
public void nodeModify(Fqn fqn, boolean pre, boolean isLocal)
TreeCacheListener.nodeModified(Fqn)
which will be merged with this method in release 1.3.
fqn
- pre
- isLocal
- TreeCacheListener.nodeModified(Fqn)
public void nodeActivate(Fqn fqn, boolean pre)
fqn
- pre
- public void nodePassivate(Fqn fqn, boolean pre)
fqn
- pre
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |