当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
LRUStatefulContextCachePolicy (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.ejb.plugins
Class LRUStatefulContextCachePolicy
java.lang.Object
org.jboss.util.LRUCachePolicy
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy
org.jboss.ejb.plugins.LRUStatefulContextCachePolicy
- All Implemented Interfaces:
- org.jboss.util.CachePolicy, Monitorable, XmlLoadable
- public class LRUStatefulContextCachePolicy
- extends LRUEnterpriseContextCachePolicy
Least Recently Used cache policy for StatefulSessionEnterpriseContexts.
- Version:
- $Revision: 1.8.2.1 $
- Author:
- Simone Bordet
| Nested classes inherited from class org.jboss.util.LRUCachePolicy |
org.jboss.util.LRUCachePolicy.LRUCacheEntry, org.jboss.util.LRUCachePolicy.LRUList |
| Fields inherited from class org.jboss.util.LRUCachePolicy |
m_list, m_map, m_maxCapacity, m_minCapacity |
| Methods inherited from class org.jboss.util.LRUCachePolicy |
create, createCacheEntry, flush, get, insert, peek, remove, size |
LRUStatefulContextCachePolicy
public LRUStatefulContextCachePolicy(AbstractInstanceCache eic)
- Creates a LRU cache policy object given the instance cache that use
this policy object.
start
public void start()
- Specified by:
start in interface org.jboss.util.CachePolicy- Overrides:
start in class LRUEnterpriseContextCachePolicy
stop
public void stop()
- Specified by:
stop in interface org.jboss.util.CachePolicy- Overrides:
stop in class LRUEnterpriseContextCachePolicy
importXml
public void importXml(Element element)
throws org.jboss.deployment.DeploymentException
- Reads from the configuration the parameters for this cache policy, that are
all optionals.
- Specified by:
importXml in interface XmlLoadable- Overrides:
importXml in class LRUEnterpriseContextCachePolicy
- Throws:
org.jboss.deployment.DeploymentException
appendProperties
protected void appendProperties(StringBuffer buffer)
- Description copied from class:
LRUEnterpriseContextCachePolicy
- Append the properties to a buffer
- Overrides:
appendProperties in class LRUEnterpriseContextCachePolicy
- Parameters:
buffer - the buffer
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.