当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
FIFOPolicy (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
org.jboss.cache.eviction
Class FIFOPolicy
java.lang.Object
   org.jboss.cache.eviction.BaseEvictionPolicy
org.jboss.cache.eviction.BaseEvictionPolicy
       org.jboss.cache.eviction.LRUPolicy
org.jboss.cache.eviction.LRUPolicy
           org.jboss.cache.eviction.FIFOPolicy
org.jboss.cache.eviction.FIFOPolicy
- All Implemented Interfaces: 
- EvictionPolicy, TreeCacheListener
- public class FIFOPolicy- extends LRUPolicy
Eviction policy based on the FIFO algorithm where users can specify the max
 number of nodes and time-to-live for the nodes.
- Author:
- Morten Kvistgaard 2004-10
 
| Fields inherited from class org.jboss.cache.eviction.LRUPolicy | 
| log_ | 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FIFOPolicy
public FIFOPolicy()
getEvictionAlgorithm
protected EvictionAlgorithm getEvictionAlgorithm()
- 
- Overrides:
- getEvictionAlgorithmin class- LRUPolicy
 
- 
 
nodeModified
public void nodeModified(Fqn fqn)
- Description copied from interface: TreeCacheListener
- Called when a node is modified, e.g., one (key, value) pair
 in the internal map storage has been modified.
 
- 
- Specified by:
- nodeModifiedin interface- TreeCacheListener
- Overrides:
- nodeModifiedin class- LRUPolicy
 
- 
 
nodeVisited
public void nodeVisited(Fqn fqn)
- Description copied from interface: TreeCacheListener
- Called when a node is visisted, i.e., get().
 
- 
- Specified by:
- nodeVisitedin interface- TreeCacheListener
- Overrides:
- nodeVisitedin class- LRUPolicy
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.