|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.jboss.cache.eviction.BaseEvictionPolicy
|
+--org.jboss.cache.eviction.LRUPolicy
|
+--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 |
log_ |
| Fields inherited from class org.jboss.cache.eviction.BaseEvictionPolicy |
cache_, regionManager_ |
| Constructor Summary | |
FIFOPolicy()
|
|
| Method Summary | |
protected EvictionAlgorithm |
getEvictionAlgorithm()
|
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 |
nodeVisited(Fqn fqn)
Called when a node is visisted, i.e., get(). |
| Methods inherited from class org.jboss.cache.eviction.LRUPolicy |
cacheStarted, cacheStopped, configure, getWakeupIntervalSeconds, nodeAdded, nodeCreated, nodeEvicted, nodeLoaded, nodeRemoved, viewChange |
| Methods inherited from class org.jboss.cache.eviction.BaseEvictionPolicy |
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 getEvictionAlgorithm()
getEvictionAlgorithm in class LRUPolicypublic void nodeModified(Fqn fqn)
TreeCacheListener
nodeModified in interface TreeCacheListenernodeModified in class LRUPolicyfqn - public void nodeVisited(Fqn fqn)
TreeCacheListener
nodeVisited in interface TreeCacheListenernodeVisited in class LRUPolicyfqn -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||