|
||||||||||
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.DefaultStructureCache<T>
T
- exact cache value typepublic class DefaultStructureCache<T>
Default structure cache.
Constructor Summary | |
---|---|
DefaultStructureCache()
|
Method Summary | |
---|---|
void |
flush()
Flush the cache. |
T |
getCacheValue(String pathName)
Get cache value. |
Set<String> |
getLeaves(String pathName)
Get leaves for this path name parameter. |
void |
initializeCache(String pathName)
Initialize cache. |
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 DefaultStructureCache()
Method Detail |
---|
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |