|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PathCachePolicy

The provides a method for selectively allowing or disallowing nodes to be cached based on their size, volatility, or any other factor that can be determined for the node.
| Method Summary | |
|---|---|
Class<? extends WorkspaceCache> |
getCacheClass()
Return the class to be used as the cache implementation |
boolean |
shouldCache(PathNode node)
Indicates whether the node should be cached . |
| Methods inherited from interface org.modeshape.graph.cache.CachePolicy |
|---|
getTimeToLive |
| Method Detail |
|---|
boolean shouldCache(PathNode node)
node - the node that may or may not be cached; may not be null
Class<? extends WorkspaceCache> getCacheClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||