org.modeshape.jcr.cache

## Class PathCache

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `PathCache(NodeCache cache)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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)

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