Package | Description |
---|---|
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.document |
Modifier and Type | Method and Description |
---|---|
LocalDocumentStore.DocumentOperationResults |
RepositoryCache.optimizeChildren(int targetCountPerBlock,
int tolerance)
Optimize the children in the supplied node document
Note that this method changes the underlying db as well as the given document, so *it must* be called either from a
transactional context or it must be followed by a session.save call, otherwise there might be inconsistencies between what
a session sees as "persisted" state and the reality.
|
Modifier and Type | Method and Description |
---|---|
LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.DistributedOperation.call() |
protected LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.DocumentOperationResults.combine(LocalDocumentStore.DocumentOperationResults other) |
LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.DistributedOperation.combine(LocalDocumentStore.DocumentOperationResults priorResult,
LocalDocumentStore.DocumentOperationResults newResult) |
LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.performOnEachDocument(LocalDocumentStore.DocumentOperation operation)
Perform the supplied operation on each stored document that is accessible within this process.
|
Modifier and Type | Method and Description |
---|---|
protected LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.DocumentOperationResults.combine(LocalDocumentStore.DocumentOperationResults other) |
LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.DistributedOperation.combine(LocalDocumentStore.DocumentOperationResults priorResult,
LocalDocumentStore.DocumentOperationResults newResult) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.