org.jboss.virtual.plugins.cache
Class IterableVFSCache
java.lang.Object
org.jboss.virtual.plugins.cache.AbstractVFSCache
org.jboss.virtual.plugins.cache.IterableVFSCache
- All Implemented Interfaces:
- CacheStatistics, VFSCache
- Direct Known Subclasses:
- MapVFSCache
public abstract class IterableVFSCache
- extends AbstractVFSCache
Iterable vfs cache.
Knows how to iterate over cache keys,
matching them to uri's path.
- Author:
- Ales Justin
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 |
IterableVFSCache
public IterableVFSCache()
getKeys
protected abstract Iterable<String> getKeys()
- Get cache keys.
- Returns:
- the cache keys
findContext
public VFSContext findContext(URI uri)
- Description copied from interface:
VFSCache
- Find the context based on uri.
- Parameters:
uri
- the uri
- Returns:
- found context or null
Copyright © 2009 JBoss, A division of Red Hat, Inc. All Rights Reserved.