|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.eviction.BaseEvictionPolicy (src)
org.jboss.cache.eviction.LRUPolicy (src)
org.jboss.cache.eviction.FIFOPolicy
Eviction policy based on the FIFO algorithm where users can specify the max number of nodes and time-to-live for the nodes.
| Field Summary |
| Fields inherited from class org.jboss.cache.eviction.LRUPolicy (src) |
log_ |
| Fields inherited from class org.jboss.cache.eviction.BaseEvictionPolicy (src) |
cache_, regionManager_ |
| Constructor Summary | |
FIFOPolicy()
|
|
| Method Summary | |
protected EvictionAlgorithm (src) |
getEvictionAlgorithm()
|
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 |
nodeVisited(Fqn (src) fqn)
Called when a node is visisted, i.e., get(). |
| Methods inherited from class org.jboss.cache.eviction.LRUPolicy (src) |
cacheStarted, cacheStopped, configure, getWakeupIntervalSeconds, nodeAdded, nodeCreated, nodeEvicted, nodeLoaded, nodeRemoved, viewChange |
| Methods inherited from class org.jboss.cache.eviction.BaseEvictionPolicy (src) |
evict, getCacheData, getChildrenNames, getRegions, hasChild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FIFOPolicy()
| Method Detail |
protected EvictionAlgorithm (src) getEvictionAlgorithm()
getEvictionAlgorithm in class LRUPolicy (src) public void nodeModified(Fqn (src) fqn)
TreeCacheListener (src)
nodeModified in interface TreeCacheListener (src) nodeModified in class LRUPolicy (src) public void nodeVisited(Fqn (src) fqn)
TreeCacheListener (src)
nodeVisited in interface TreeCacheListener (src) nodeVisited in class LRUPolicy (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||