## Uses of Class
org.modeshape.jcr.cache.document.WorkspaceCache

- Packages that use WorkspaceCache
  Package | Description
  --- | ---
  org.modeshape.jcr.cache |
  org.modeshape.jcr.cache.document |
  org.modeshape.jcr.txn |

- - ### Uses of WorkspaceCache in org.modeshape.jcr.cache

    Methods in org.modeshape.jcr.cache that return WorkspaceCache
    Modifier and Type | Method and Description
    --- | ---
    `WorkspaceCache` | RepositoryCache.`createWorkspace(String name)` Create a new workspace in this repository, if the repository is appropriately configured.
    `WorkspaceCache` | RepositoryCache.`getWorkspaceCache(String workspaceName)` Get the NodeCache for the workspace with the given name.

  - ### Uses of WorkspaceCache in org.modeshape.jcr.cache.document

    Subclasses of WorkspaceCache in org.modeshape.jcr.cache.document
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TransactionalWorkspaceCache` A special WorkspaceCache implementation that should be used by sessions running within user transactions.

    Fields in org.modeshape.jcr.cache.document declared as WorkspaceCache
    Modifier and Type | Field and Description
    --- | ---
    `protected WorkspaceCache` | ImmutableChildReferences.Segmented.`cache`

    Methods in org.modeshape.jcr.cache.document that return WorkspaceCache
    Modifier and Type | Method and Description
    --- | ---
    `WorkspaceCache` | TransactionalWorkspaceCaches.`getTransactionalWorkspaceCache(WorkspaceCache sharedWorkspaceCache)`
    `protected WorkspaceCache` | WorkspaceCache.`persistedCache(Iterable<NodeKey> nodeKeys)` Returns a workspace cache which has the latest persisted information read from Infinispan for the given nodes.
    `protected WorkspaceCache` | SessionNode.`workspace(NodeCache cache)`
    `WorkspaceCache` | WorkspaceCache.`workspaceCache()`
    `WorkspaceCache` | DocumentCache.`workspaceCache()`
    `WorkspaceCache` | AbstractSessionCache.`workspaceCache()`
    `protected WorkspaceCache` | LazyCachedNode.`workspaceCache(NodeCache cache)`

    Methods in org.modeshape.jcr.cache.document with parameters of type WorkspaceCache
    Modifier and Type | Method and Description
    --- | ---
    `static ChildReferences` | ImmutableChildReferences.`create(ChildReferences first, DocumentTranslator.ChildReferencesInfo segmentingInfo, ChildReferences externalReferences, WorkspaceCache cache)`
    `static ChildReferences` | ImmutableChildReferences.`create(ChildReferences first, DocumentTranslator.ChildReferencesInfo segmentingInfo, WorkspaceCache cache)`
    `protected TransactionalWorkspaceCache` | TransactionalWorkspaceCaches.`createCache(WorkspaceCache sharedWorkspaceCache, Transaction txn)`
    `protected Document` | LazyCachedNode.`document(WorkspaceCache cache)` Get the `Document` that represents this node.
    `ChildReferences` | DocumentTranslator.`getChildReferences(WorkspaceCache cache, Document document)`
    `protected Path.Segment` | LazyCachedNode.`getSegment(WorkspaceCache cache)` Get the name for this node, without any same-name-sibiling (SNS) index.
    `WorkspaceCache` | TransactionalWorkspaceCaches.`getTransactionalWorkspaceCache(WorkspaceCache sharedWorkspaceCache)`
    `ImmutableChildReferences.Segment` | ImmutableChildReferences.Segment.`next(WorkspaceCache cache)`
    `protected CachedNode` | LazyCachedNode.`parent(WorkspaceCache cache)`
    `protected ChildReference` | LazyCachedNode.`parentReferenceToSelf(WorkspaceCache cache)` Get the parent node's child reference to this node.
    `protected ChangeSet` | WritableSessionCache.`persistChanges(Iterable<NodeKey> changedNodesInOrder, WorkspaceCache persistedCache)` Persist the changes within an already-established transaction.

    Constructors in org.modeshape.jcr.cache.document with parameters of type WorkspaceCache
    Constructor and Description
    `AbstractSessionCache(ExecutionContext context, WorkspaceCache sharedWorkspaceCache, SessionEnvironment sessionContext)`
    `ImmutableChildReferences.Segmented(WorkspaceCache cache, ChildReferences firstSegment, DocumentTranslator.ChildReferencesInfo info)`
    `LazyCachedNode.RootParentReferenceToSelf(WorkspaceCache cache)`
    `ReadOnlySessionCache(ExecutionContext context, WorkspaceCache workspaceCache, SessionEnvironment sessionContext)`
    `TransactionalWorkspaceCache(WorkspaceCache sharedWorkspaceCache, TransactionalWorkspaceCaches cacheManager, Transaction txn)`
    `WorkspaceCache(ExecutionContext context, String repositoryKey, String workspaceName, WorkspaceCache systemWorkspace, DocumentStore documentStore, DocumentTranslator translator, NodeKey rootKey, ConcurrentMap<NodeKey,CachedNode> cache, ChangeBus changeBus)`
    `WorkspaceCache(WorkspaceCache original, ConcurrentMap<NodeKey,CachedNode> cache)`
    `WritableSessionCache(ExecutionContext context, WorkspaceCache workspaceCache, SessionEnvironment sessionContext)` Create a new SessionCache that can be used for making changes to the workspace.

  - ### Uses of WorkspaceCache in org.modeshape.jcr.txn

    Methods in org.modeshape.jcr.txn with parameters of type WorkspaceCache
    Modifier and Type | Method and Description
    --- | ---
    `void` | Transactions.`updateCache(WorkspaceCache workspace, ChangeSet changes, Transactions.Transaction transaction)` Notify the workspace of the supplied changes, if and when the current transaction is completed.
    `void` | SynchronizedTransactions.`updateCache(WorkspaceCache workspace, ChangeSet changes, Transactions.Transaction transaction)`

    Constructors in org.modeshape.jcr.txn with parameters of type WorkspaceCache
    Constructor and Description
    `SynchronizedTransactions.WorkspaceUpdates(WorkspaceCache workspace, ChangeSet changes)`

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