ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache
Class PathCache

java.lang.Object
  extended by org.modeshape.jcr.cache.PathCache

public class PathCache
extends Object

A simple cache of node paths, useful when obtaining the path for many nodes on a subgraph.


Constructor Summary
PathCache(NodeCache cache)
           
 
Method Summary
 NodeCache getCache()
           
 Path getPath(CachedNode node)
           
 boolean removePath(NodeKey key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathCache

public PathCache(NodeCache cache)
Method Detail

getCache

public NodeCache getCache()

getPath

public Path getPath(CachedNode node)

removePath

public boolean removePath(NodeKey key)

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.