|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.cache.eviction.BaseEvictionAlgorithm
org.jboss.cache.eviction.FIFOAlgorithm
First-in-first-out algorithm used to evict nodes.
| Field Summary |
| Fields inherited from class org.jboss.cache.eviction.BaseEvictionAlgorithm |
evictionQueue, recycleQueue, region |
| Constructor Summary | |
FIFOAlgorithm()
|
|
| Method Summary | |
protected EvictionQueue |
setupEvictionQueue(Region region)
This method will create an EvictionQueue implementation and prepare it for use. |
protected boolean |
shouldEvictNode(NodeEntry ne)
For FIFO, a node should be evicted if the queue size is >= to the configured maxNodes size. |
| Methods inherited from class org.jboss.cache.eviction.BaseEvictionAlgorithm |
emptyRecycleQueue, evict, evictCacheNode, getEvictionQueue, initialize, process, processAddedNodes, processQueues, processRemovedNodes, processVisitedNodes, prune, resetEvictionQueue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FIFOAlgorithm()
| Method Detail |
protected EvictionQueue setupEvictionQueue(Region region)
throws EvictionException
BaseEvictionAlgorithm
setupEvictionQueue in class BaseEvictionAlgorithmregion - Region to setup an eviction queue for.
EvictionExceptionEvictionQueueprotected boolean shouldEvictNode(NodeEntry ne)
shouldEvictNode in class BaseEvictionAlgorithmne - NodeEntry to test eviction for.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||