org.jboss.virtual.plugins.cache
Class IterableTimedVFSCache
java.lang.Object
org.jboss.virtual.plugins.cache.AbstractVFSCache
org.jboss.virtual.plugins.cache.PathMatchingVFSCache
org.jboss.virtual.plugins.cache.CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>
org.jboss.virtual.plugins.cache.TimedVFSCache
org.jboss.virtual.plugins.cache.IterableTimedVFSCache
- All Implemented Interfaces:
- CacheStatistics, VFSCache
public class IterableTimedVFSCache
- extends TimedVFSCache
Iterable timed cache policy vfs cache.
- Author:
- Ales Justin
Method Summary |
VFSContext |
findContext(java.net.URI uri)
Match the uri's path with cached contexts path. |
protected java.lang.String |
getCacheName()
Get the cache name. |
Methods inherited from class org.jboss.virtual.plugins.cache.CachePolicyVFSCache |
check, flush, getContext, getInteger, getPolicy, parseInteger, putContext, readInstanceProperties, readSystemProperty, removeContext, size, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IterableTimedVFSCache
public IterableTimedVFSCache()
IterableTimedVFSCache
public IterableTimedVFSCache(java.lang.Integer defaultLifetime)
IterableTimedVFSCache
public IterableTimedVFSCache(java.lang.Integer defaultLifetime,
java.lang.Boolean threadSafe,
java.lang.Integer resolution)
IterableTimedVFSCache
public IterableTimedVFSCache(java.util.Map<java.lang.Object,java.lang.Object> properties)
findContext
public VFSContext findContext(java.net.URI uri)
- Description copied from class:
PathMatchingVFSCache
- Match the uri's path with cached contexts path.
- Specified by:
findContext
in interface VFSCache
- Overrides:
findContext
in class PathMatchingVFSCache
- Parameters:
uri
- the uri to match
- Returns:
- found context or null
getCacheName
protected java.lang.String getCacheName()
- Description copied from class:
TimedVFSCache
- Get the cache name.
- Overrides:
getCacheName
in class TimedVFSCache
- Returns:
- the cache name