| Package | Description |
|---|---|
| org.apache.jackrabbit.oak.plugins.document.cache |
| Modifier and Type | Method and Description |
|---|---|
CacheChangesTracker |
NodeDocumentCache.registerTracker(Set<String> keys)
Registers a new CacheChangesTracker that records all puts and
invalidations related to the given documents
|
CacheChangesTracker |
NodeDocumentCache.registerTracker(String fromKey,
String toKey)
Registers a new CacheChangesTracker that records all puts and
invalidations related to children of the given parent.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
NodeDocumentCache.putInternal(@NotNull NodeDocument doc,
@Nullable CacheChangesTracker trackerToSkip)
Puts a document into the cache without acquiring a lock.
|
void |
NodeDocumentCache.putNonConflictingDocs(CacheChangesTracker tracker,
Iterable<NodeDocument> docs)
Updates the cache with all the documents that:
(1) currently have their older versions in the cache or
(2) have been neither put nor invalidated during the tracker lifetime.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.