org.jboss.cache.aop.eviction
Class AopLRUAlgorithm

java.lang.Object
  extended by org.jboss.cache.eviction.BaseEvictionAlgorithm
      extended by org.jboss.cache.eviction.LRUAlgorithm
          extended by org.jboss.cache.aop.eviction.AopLRUAlgorithm
All Implemented Interfaces:
EvictionAlgorithm

public class AopLRUAlgorithm
extends LRUAlgorithm

LRUAlgorithm specific to PojoCache. Overriding couple of hooks to customize the algorithm such that it works correctly when using PojoCache. The basic strategy for the AOP-specific case are:

Author:
Ben Wang, Feb 17, 2004

Field Summary
 
Fields inherited from class org.jboss.cache.eviction.BaseEvictionAlgorithm
evictionQueue, recycleQueue, region
 
Constructor Summary
AopLRUAlgorithm()
           
 
Method Summary
 
Methods inherited from class org.jboss.cache.eviction.LRUAlgorithm
evict, getConfiguration, prune, setupEvictionQueue, shouldEvictNode
 
Methods inherited from class org.jboss.cache.eviction.BaseEvictionAlgorithm
emptyRecycleQueue, evictCacheNode, getEvictionQueue, initialize, isNodeInUseAndNotTimedOut, process, processAddedElement, processAddedNodes, processMarkInUseNodes, processQueues, processRemovedElement, processRemovedNodes, processUnmarkInUseNodes, processVisitedNodes, resetEvictionQueue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.cache.eviction.EvictionAlgorithm
getEvictionQueue, process, resetEvictionQueue
 

Constructor Detail

AopLRUAlgorithm

public AopLRUAlgorithm()


Copyright 1998-2005 JBoss Inc . All Rights Reserved.