|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.jboss.cache.eviction.LRUAlgorithm
|
+--org.jboss.cache.eviction.AopLRUAlgorithm
LRUAlgorithm specific to TreeCacheAop. Overriding couple of hooks to customize the algorithm such that it works correctly when using TreeCacheAop. The basic strategy for the AOP-specific case are:
| Field Summary |
| Fields inherited from class org.jboss.cache.eviction.LRUAlgorithm |
head_, log_, nodeMap_, recycleQueue_, region_, tail_ |
| Constructor Summary | |
AopLRUAlgorithm()
|
|
| Method Summary | |
protected java.util.Set |
getAssociatedEvictNode(Fqn fqn)
Hook for evict. |
protected boolean |
preAddedNodes(Fqn fqn)
Hook for processAddedNodes. |
protected boolean |
preVisitedNodes(Fqn fqn,
long stamp)
Hook for processVisitedNodes |
| Methods inherited from class org.jboss.cache.eviction.LRUAlgorithm |
demote, evict, evictionQueueSize, process, prune, resetEvictionQueue, shouldEvictNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AopLRUAlgorithm()
| Method Detail |
protected java.util.Set getAssociatedEvictNode(Fqn fqn)
fqn -
protected boolean preAddedNodes(Fqn fqn)
protected boolean preVisitedNodes(Fqn fqn,
long stamp)
fqn -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||