org.jboss.virtual.plugins.cache
Class PathMatchingVFSCache

java.lang.Object
  extended by org.jboss.virtual.plugins.cache.AbstractVFSCache
      extended by org.jboss.virtual.plugins.cache.PathMatchingVFSCache
All Implemented Interfaces:
CacheStatistics, VFSCache
Direct Known Subclasses:
CachePolicyVFSCache

public abstract class PathMatchingVFSCache
extends AbstractVFSCache

Iterable vfs cache.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.virtual.plugins.cache.AbstractVFSCache
log
 
Constructor Summary
PathMatchingVFSCache()
           
 
Method Summary
 VFSContext findContext(URI uri)
          Match the uri's path with cached contexts path.
 
Methods inherited from class org.jboss.virtual.plugins.cache.AbstractVFSCache
check, findContext, getContext, lastInsert, putContext, putContext, readLock, readUnlock, removeContext, removeContext, writeLock, writeUnlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.virtual.spi.cache.VFSCache
flush, start, stop
 
Methods inherited from interface org.jboss.virtual.spi.cache.CacheStatistics
getCachedContexts, size
 

Constructor Detail

PathMatchingVFSCache

public PathMatchingVFSCache()
Method Detail

findContext

public VFSContext findContext(URI uri)
Match the uri's path with cached contexts path.

Parameters:
uri - the uri to match
Returns:
found context or null


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