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 |
---|---|
protected LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.DocumentOperationResults.combine(LocalDocumentStore.DocumentOperationResults other) |
LocalDocumentStore.DocumentOperationResults |
LocalDocumentStore.performOnEachDocument(BiFunction<String,EditableDocument,Boolean> 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) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.