org.jboss.virtual.plugins.cache
Class LRUVFSCache
java.lang.Object
org.jboss.virtual.plugins.cache.AbstractVFSCache
org.jboss.virtual.plugins.cache.PathMatchingVFSCache
org.jboss.virtual.plugins.cache.CachePolicyVFSCache<org.jboss.util.LRUCachePolicy>
org.jboss.virtual.plugins.cache.LRUVFSCache
- All Implemented Interfaces:
- CacheStatistics, VFSCache
public class LRUVFSCache
- extends CachePolicyVFSCache<org.jboss.util.LRUCachePolicy>
LRU cache policy vfs cache.
- Author:
- Ales Justin
Method Summary |
protected org.jboss.util.LRUCachePolicy |
createCachePolicy()
Create cache policy. |
void |
setMax(java.lang.Integer max)
set max. |
void |
setMin(java.lang.Integer min)
Set min. |
java.lang.String |
toString()
|
Methods inherited from class org.jboss.virtual.plugins.cache.CachePolicyVFSCache |
check, flush, getCachedContexts, getContext, getInteger, getPolicy, parseInteger, putContext, readInstanceProperties, readSystemProperty, removeContext, size, start, stop, wrapContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LRUVFSCache
public LRUVFSCache()
LRUVFSCache
public LRUVFSCache(java.lang.Integer min,
java.lang.Integer max)
LRUVFSCache
public LRUVFSCache(java.util.Map<java.lang.Object,java.lang.Object> properties)
createCachePolicy
protected org.jboss.util.LRUCachePolicy createCachePolicy()
- Description copied from class:
CachePolicyVFSCache
- Create cache policy.
- Specified by:
createCachePolicy
in class CachePolicyVFSCache<org.jboss.util.LRUCachePolicy>
- Returns:
- the cache policy
setMin
public void setMin(java.lang.Integer min)
- Set min.
- Parameters:
min
- the min
setMax
public void setMax(java.lang.Integer max)
- set max.
- Parameters:
max
- the max
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object