|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache<T>
T
- exact value typepublic class TreeStructureCache<T>
Tree base structure cache.
Constructor Summary | |
---|---|
TreeStructureCache()
|
Method Summary | |
---|---|
protected org.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache.Node<T> |
createRoot()
Create new root. |
void |
flush()
Flush the cache. |
T |
getCacheValue(String pathName)
Get cache value. |
protected T |
getDefaultValue()
Get default node value. |
Set<String> |
getLeaves(String pathName)
Get leaves for this path name parameter. |
protected org.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache.Node<T> |
getNode(String path)
Get the path's node. |
void |
initializeCache(String pathName)
Initialize cache. |
protected org.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache.Node<T> |
initializeNode(String pathName)
Initialize node for pathName param. |
void |
invalidateCache(String pathName)
Invalidate cache for path name. |
T |
putCacheValue(String pathName,
T value)
Put cache value. |
void |
removeCache(String pathName)
Remove cache for path name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeStructureCache()
Method Detail |
---|
protected org.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache.Node<T> createRoot()
protected T getDefaultValue()
public void initializeCache(String pathName)
StructureCache
initializeCache
in interface StructureCache<T>
pathName
- the path namepublic T putCacheValue(String pathName, T value)
StructureCache
putCacheValue
in interface StructureCache<T>
pathName
- the path namevalue
- the value
public T getCacheValue(String pathName)
StructureCache
getCacheValue
in interface StructureCache<T>
pathName
- the path name
public Set<String> getLeaves(String pathName)
StructureCache
getLeaves
in interface StructureCache<T>
pathName
- the path name
public void invalidateCache(String pathName)
StructureCache
invalidateCache
in interface StructureCache<T>
pathName
- the path namepublic void removeCache(String pathName)
StructureCache
removeCache
in interface StructureCache<T>
pathName
- the path namepublic void flush()
StructureCache
flush
in interface StructureCache<T>
protected org.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache.Node<T> getNode(String path)
path
- the path
protected org.jboss.deployers.vfs.spi.structure.modified.TreeStructureCache.Node<T> initializeNode(String pathName)
pathName
- the path name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |