Package | Description |
---|---|
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.txn |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
TransactionalWorkspaceCache
A special WorkspaceCache implementation that should be used by sessions running within user transactions.
|
Modifier and Type | Field and Description |
---|---|
protected WorkspaceCache |
ImmutableChildReferences.Segmented.cache |
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) |
Modifier and Type | Method and Description |
---|---|
static ChildReferences |
ImmutableChildReferences.create(ChildReferences first,
DocumentTranslator.ChildReferencesInfo firstSegmentingInfo,
ChildReferences second,
WorkspaceCache cache) |
static ChildReferences |
ImmutableChildReferences.create(ChildReferences first,
DocumentTranslator.ChildReferencesInfo firstSegmentingInfo,
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,
SessionEnvironment.Monitor monitor,
WorkspaceCache persistedCache)
Persist the changes within an already-established transaction.
|
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(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.
|
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) |
Constructor and Description |
---|
SynchronizedTransactions.WorkspaceUpdates(WorkspaceCache workspace,
ChangeSet changes) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.