org.jboss.virtual.plugins.cache
Class IterableTimedVFSCache

java.lang.Object
  extended by org.jboss.virtual.plugins.cache.AbstractVFSCache
      extended by org.jboss.virtual.plugins.cache.PathMatchingVFSCache
          extended by org.jboss.virtual.plugins.cache.CachePolicyVFSCache<org.jboss.util.TimedCachePolicy>
              extended by org.jboss.virtual.plugins.cache.TimedVFSCache
                  extended by 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

Field Summary
 
Fields inherited from class org.jboss.virtual.plugins.cache.AbstractVFSCache
log
 
Constructor Summary
IterableTimedVFSCache()
           
IterableTimedVFSCache(Integer defaultLifetime)
           
IterableTimedVFSCache(Integer defaultLifetime, Boolean threadSafe, Integer resolution)
           
IterableTimedVFSCache(Map<Object,Object> properties)
           
 
Method Summary
 VFSContext findContext(URI uri)
          Match the uri's path with cached contexts path.
protected  String getCacheName()
          Get the cache name.
 
Methods inherited from class org.jboss.virtual.plugins.cache.TimedVFSCache
createCachePolicy, getCachedContexts, setDefaultLifetime, setResolution, setThreadSafe, toString
 
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 org.jboss.virtual.plugins.cache.AbstractVFSCache
findContext, lastInsert, putContext, readLock, readUnlock, removeContext, writeLock, writeUnlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IterableTimedVFSCache

public IterableTimedVFSCache()

IterableTimedVFSCache

public IterableTimedVFSCache(Integer defaultLifetime)

IterableTimedVFSCache

public IterableTimedVFSCache(Integer defaultLifetime,
                             Boolean threadSafe,
                             Integer resolution)

IterableTimedVFSCache

public IterableTimedVFSCache(Map<Object,Object> properties)
Method Detail

findContext

public VFSContext findContext(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 String getCacheName()
Description copied from class: TimedVFSCache
Get the cache name.

Overrides:
getCacheName in class TimedVFSCache
Returns:
the cache name


Copyright © 2009 JBoss, A division of Red Hat, Inc. All Rights Reserved.