|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.LRUCachePolicy (src)
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy (src)
org.jboss.ejb.plugins.LRUStatefulContextCachePolicy
Least Recently Used cache policy for StatefulSessionEnterpriseContexts.
Nested Class Summary | |
protected class |
LRUStatefulContextCachePolicy.RemoverTask (src)
This TimerTask removes beans that have not been called for a while. |
Nested classes inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy (src) |
LRUEnterpriseContextCachePolicy.ContextLRUList (src) , LRUEnterpriseContextCachePolicy.OveragerTask (src) , LRUEnterpriseContextCachePolicy.ResizerTask (src) |
Nested classes inherited from class org.jboss.util.LRUCachePolicy (src) |
LRUCachePolicy.LRUCacheEntry (src) , LRUCachePolicy.LRUList (src) |
Field Summary |
Fields inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy (src) |
log, tasksTimer |
Fields inherited from class org.jboss.util.LRUCachePolicy (src) |
m_list, m_map, m_maxCapacity, m_minCapacity |
Constructor Summary | |
LRUStatefulContextCachePolicy(AbstractInstanceCache (src) eic)
Creates a LRU cache policy object given the instance cache that use this policy object. |
Method Summary | |
void |
importXml(org.w3c.dom.Element element)
Reads from the configuration the parameters for this cache policy, that are all optionals. |
void |
start()
Starts this cache that is now ready to be used. |
void |
stop()
Stops this cache thus LRUCachePolicy.flush() ing all cached objects. |
Methods inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy (src) |
ageOut, cacheMiss, createList, destroy, sample |
Methods inherited from class org.jboss.util.LRUCachePolicy (src) |
create, createCacheEntry, flush, get, insert, peek, remove, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LRUStatefulContextCachePolicy(AbstractInstanceCache (src) eic)
Method Detail |
public void start()
LRUCachePolicy (src)
start
in interface CachePolicy (src)
start
in class LRUEnterpriseContextCachePolicy (src)
public void stop()
LRUCachePolicy (src)
LRUCachePolicy.flush()
ing all cached objects. LRUCachePolicy.start()
will restart the cache.
stop
in interface CachePolicy (src)
stop
in class LRUEnterpriseContextCachePolicy (src)
public void importXml(org.w3c.dom.Element element) throws DeploymentException (src)
importXml
in interface XmlLoadable (src)
importXml
in class LRUEnterpriseContextCachePolicy (src)
DeploymentException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |