|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.connector.path.cache.NoCachePolicy
@Immutable public class NoCachePolicy

Trivial path cache policy implementation that performs no caching at all
| Constructor Summary | |
|---|---|
NoCachePolicy()
|
|
| Method Summary | |
|---|---|
Class<? extends WorkspaceCache> |
getCacheClass()
Return the class to be used as the cache implementation |
long |
getTimeToLive()
Get the system time in milliseconds before which the node data remains valid. |
boolean |
shouldCache(PathNode node)
Indicates whether the node should be cached . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoCachePolicy()
| Method Detail |
|---|
public boolean shouldCache(PathNode node)
PathCachePolicy
shouldCache in interface PathCachePolicynode - the node that may or may not be cached; may not be null
PathCachePolicy.shouldCache(PathNode)public long getTimeToLive()
CachePolicy
getTimeToLive in interface CachePolicypublic Class<? extends WorkspaceCache> getCacheClass()
PathCachePolicy
getCacheClass in interface PathCachePolicy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||