|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - exact cache value typepublic interface StructureCache<T>
Simple structure cache.
| 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. |
| Method Detail |
|---|
void initializeCache(String pathName)
pathName - the path name
T putCacheValue(String pathName,
T value)
pathName - the path namevalue - the value
T getCacheValue(String pathName)
pathName - the path name
Set<String> getLeaves(String pathName)
pathName - the path name
void invalidateCache(String pathName)
pathName - the path namevoid removeCache(String pathName)
pathName - the path namevoid flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||