|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.LRUCachePolicy
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy
org.jboss.ejb.plugins.LRUStatefulContextCachePolicy
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. |
| Nested classes inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy |
LRUEnterpriseContextCachePolicy.ContextLRUList, LRUEnterpriseContextCachePolicy.OveragerTask, LRUEnterpriseContextCachePolicy.ResizerTask |
| Nested classes inherited from class org.jboss.util.LRUCachePolicy |
org.jboss.util.LRUCachePolicy.LRUCacheEntry, org.jboss.util.LRUCachePolicy.LRUList |
| Field Summary |
| Fields inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy |
log, tasksTimer |
| Fields inherited from class org.jboss.util.LRUCachePolicy |
m_list, m_map, m_maxCapacity, m_minCapacity |
| Constructor Summary | |
LRUStatefulContextCachePolicy(AbstractInstanceCache eic)
Creates a LRU cache policy object given the instance cache that use this policy object. |
|
| Method Summary | |
void |
importXml(Element element)
Reads from the configuration the parameters for this cache policy, that are all optionals. |
void |
start()
|
void |
stop()
|
| Methods inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy |
ageOut, cacheMiss, createList, destroy, sample |
| Methods inherited from class org.jboss.util.LRUCachePolicy |
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 eic)
| Method Detail |
public void start()
start in interface org.jboss.util.CachePolicystart in class LRUEnterpriseContextCachePolicypublic void stop()
stop in interface org.jboss.util.CachePolicystop in class LRUEnterpriseContextCachePolicy
public void importXml(Element element)
throws org.jboss.deployment.DeploymentException
importXml in interface XmlLoadableimportXml in class LRUEnterpriseContextCachePolicyorg.jboss.deployment.DeploymentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||