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
Methods inherited from class org.jboss.virtual.plugins.cache.CachePolicyVFSCache |
check, flush, getCachedContexts, getContext, getInteger, getPolicy, parseInteger, putContext, readInstanceProperties, readSystemProperty, removeContext, size, start, stop |
LRUVFSCache
public LRUVFSCache()
LRUVFSCache
public LRUVFSCache(Integer min,
Integer max)
LRUVFSCache
public LRUVFSCache(Map<Object,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(Integer min)
- Set min.
- Parameters:
min
- the min
setMax
public void setMax(Integer max)
- set max.
- Parameters:
max
- the max
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 JBoss, A division of Red Hat, Inc. All Rights Reserved.