Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » [javadoc | source]
org.jboss.ejb.plugins
public class: LRUStatefulContextCachePolicy [javadoc | source]
java.lang.Object
   org.jboss.util.LRUCachePolicy
      org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy
         org.jboss.ejb.plugins.LRUStatefulContextCachePolicy

All Implemented Interfaces:
    XmlLoadable, Monitorable, CachePolicy

Least Recently Used cache policy for StatefulSessionEnterpriseContexts.
Nested Class Summary:
protected class  LRUStatefulContextCachePolicy.RemoverTask  This TimerTask removes beans that have not been called for a while. 
Fields inherited from org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy:
log,  tasksTimer
Fields inherited from org.jboss.util.LRUCachePolicy:
m_map,  m_list,  m_maxCapacity,  m_minCapacity
Constructor:
 public LRUStatefulContextCachePolicy(AbstractInstanceCache eic) 
    Creates a LRU cache policy object given the instance cache that use this policy object.
Method from org.jboss.ejb.plugins.LRUStatefulContextCachePolicy Summary:
importXml,   start,   stop
Methods from org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy:
ageOut,   cacheMiss,   createList,   destroy,   flush,   importXml,   sample,   start,   stop
Methods from org.jboss.util.LRUCachePolicy:
ageOut,   cacheMiss,   create,   createCacheEntry,   createList,   destroy,   flush,   get,   insert,   peek,   remove,   size,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.LRUStatefulContextCachePolicy Detail:
 public  void importXml(Element element) throws DeploymentException 
    Reads from the configuration the parameters for this cache policy, that are all optionals.
 public  void start() 
 public  void stop()