| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Generic eviction policy interface.
| Method Summary | |
|  void | configure(TreeCache cache)Method called to configure this implementation. | 
|  void | evict(Fqn fqn)Evict a node form the underlying cache. | 
|  Object | getCacheData(Fqn fqn,
             Object key) | 
|  Set | getChildrenNames(Fqn fqn)Return children names as Objects | 
|  Region[] | getRegions()Return all regions declared. | 
|  int | getWakeupIntervalSeconds()return eviction thread (if any) wake up interval in seconds. | 
|  boolean | hasChild(Fqn fqn)Is this a leaf node? | 
| Method Detail | 
public Region[] getRegions()
public void evict(Fqn fqn) throws Exception
fqn - Node corresponds to this fqn.
Exceptionpublic Set getChildrenNames(Fqn fqn)
fqn - 
public boolean hasChild(Fqn fqn)
fqn - 
public Object getCacheData(Fqn fqn, Object key)
public int getWakeupIntervalSeconds()
public void configure(TreeCache cache)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||