Uses of Class
org.apache.jackrabbit.oak.plugins.document.RevisionVector
-
-
Uses of RevisionVector in org.apache.jackrabbit.oak.index.indexer.document
Constructors in org.apache.jackrabbit.oak.index.indexer.document with parameters of type RevisionVector Constructor Description NodeStateEntryTraverser(java.lang.String id, RevisionVector rootRevision, DocumentNodeStore documentNodeStore, MongoDocumentStore documentStore, TraversingRange traversingRange)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.index.indexer.document.flatfile
Methods in org.apache.jackrabbit.oak.index.indexer.document.flatfile with parameters of type RevisionVector Modifier and Type Method Description FlatFileNodeStoreBuilder
FlatFileNodeStoreBuilder. withRootRevision(RevisionVector rootRevision)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined
Constructors in org.apache.jackrabbit.oak.index.indexer.document.flatfile.pipelined with parameters of type RevisionVector Constructor Description PipelinedStrategy(MongoDocumentStore documentStore, com.mongodb.client.MongoDatabase mongoDatabase, DocumentNodeStore documentNodeStore, RevisionVector rootRevision, java.util.Set<java.lang.String> preferredPathElements, BlobStore blobStore, java.io.File storeDir, Compression algorithm, java.util.function.Predicate<java.lang.String> pathPredicate, java.util.List<PathFilter> pathFilters, java.lang.String checkpoint, StatisticsProvider statisticsProvider, IndexingReporter indexingReporter)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document that return RevisionVector Modifier and Type Method Description RevisionVector
RevisionVector. asBranchRevision(int clusterId)
A clone of this revision vector with the revision for the given clusterId set to a branch revision.RevisionVector
RevisionVector. asTrunkRevision()
Returns a revision vector where all revision elements are turned into trunk revisions.RevisionVector
RevisionVector. difference(RevisionVector vector)
Returns the difference of this and the other vector.static RevisionVector
RevisionVector. fromString(java.lang.String s)
Creates a revision vector from a string representation as returned byasString()
.@NotNull RevisionVector
MemoryDiffCache.Key. getFromRevision()
@NotNull RevisionVector
DocumentNodeStore. getHeadRevision()
@NotNull RevisionVector
RevisionContext. getHeadRevision()
@NotNull RevisionVector
RevisionContextWrapper. getHeadRevision()
abstract RevisionVector
AbstractDocumentNodeState. getLastRevision()
RevisionVector
DocumentNodeState. getLastRevision()
@NotNull RevisionVector
NamePathRev. getRevision()
RevisionVector
PathRev. getRevision()
abstract RevisionVector
AbstractDocumentNodeState. getRootRevision()
@NotNull RevisionVector
DocumentNodeState. getRootRevision()
Returns the root revision for this node state.@NotNull RevisionVector
MemoryDiffCache.Key. getToRevision()
RevisionVector
RevisionVector. pmax(@NotNull RevisionVector vector)
Calculates the parallel maximum of this and the givenvector
.RevisionVector
RevisionVector. pmin(@NotNull RevisionVector vector)
Calculates the parallel minimum of this and the givenvector
.RevisionVector
RevisionVector. remove(int clusterId)
Returns a RevisionVector without the revision element with the givenclusterId
.RevisionVector
RevisionVector. update(@NotNull Revision revision)
Creates a new revision vector with based on this vector and the givenrevision
.Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type RevisionVector Modifier and Type Method Description void
Commit. applyToCache(RevisionVector before, boolean isBranchCommit)
Apply the changes to the DocumentNodeStore (to update the cache).int
RevisionVector. compareTo(@NotNull RevisionVector other)
protected SplitDocumentCleanUp
VersionGCSupport. createCleanUp(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp, VersionGarbageCollector.VersionGCStats stats)
RevisionVector
RevisionVector. difference(RevisionVector vector)
Returns the difference of this and the other vector.java.lang.String
LocalDiffCache. getChanges(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)
@Nullable java.lang.String
MemoryDiffCache. getChanges(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)
@Nullable AbstractDocumentNodeState
DocumentNodeStateCache. getDocumentNodeState(Path path, RevisionVector rootRevision, RevisionVector lastRev)
Get the node for the given path and revision.@Nullable Revision
NodeDocument. getLiveRevision(RevisionContext context, RevisionVector readRevision, java.util.Map<Revision,java.lang.String> validRevisions, org.apache.jackrabbit.oak.plugins.document.LastRevs lastRevs)
Get the earliest (oldest) revision where the node was alive at or before the provided revision, if the node was alive at the given revision.@Nullable DocumentNodeState
DocumentNodeStore. getNode(@NotNull Path path, @NotNull RevisionVector rev)
Get the node for the given path and revision.@Nullable DocumentNodeState
NodeDocument. getNodeAtRevision(@NotNull DocumentNodeStore nodeStore, @NotNull RevisionVector readRevision, @Nullable Revision lastModified)
Returns aDocumentNodeState
as seen at the givenreadRevision
.protected java.lang.Iterable<NodeDocument>
VersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp)
protected static boolean
VersionGCSupport. isDefaultNoBranchSplitNewerThan(NodeDocument doc, RevisionVector sweepRevs)
Returnstrue
if the given document is of typeNodeDocument.SplitDocType.DEFAULT_NO_BRANCH
and the most recent change on the document is newer than thesweepRevs
.@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry
LocalDiffCache. newEntry(@NotNull RevisionVector from, @NotNull RevisionVector to, boolean local)
@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.Entry
MemoryDiffCache. newEntry(@NotNull RevisionVector from, @NotNull RevisionVector to, boolean local)
RevisionVector
RevisionVector. pmax(@NotNull RevisionVector vector)
Calculates the parallel maximum of this and the givenvector
.RevisionVector
RevisionVector. pmin(@NotNull RevisionVector vector)
Calculates the parallel minimum of this and the givenvector
.@NotNull java.lang.Iterable<UpdateOp>
NodeDocument. split(@NotNull RevisionContext context, @NotNull RevisionVector head, @NotNull org.apache.jackrabbit.guava.common.base.Function<java.lang.String,java.lang.Long> binarySize)
Returns update operations to split this document.abstract AbstractDocumentNodeState
AbstractDocumentNodeState. withRootRevision(@NotNull RevisionVector root, boolean externalChange)
Creates a copy of thisDocumentNodeState
with theAbstractDocumentNodeState.getRootRevision()
set to the givenroot
revision.DocumentNodeState
DocumentNodeState. withRootRevision(@NotNull RevisionVector root, boolean externalChange)
Creates a copy of thisDocumentNodeState
with theDocumentNodeState.rootRevision
set to the givenroot
revision.Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type RevisionVector Constructor Description DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path, @NotNull RevisionVector rootRevision, @NotNull java.util.Map<java.lang.String,PropertyState> properties, boolean hasChildren, int memory, @Nullable RevisionVector lastRevision, boolean fromExternalChange)
DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path, @Nullable RevisionVector lastRevision, @NotNull RevisionVector rootRevision, boolean fromExternalChange, DocumentNodeState.BundlingContext bundlingContext, int memory)
Key(@NotNull Path path, @NotNull RevisionVector from, @NotNull RevisionVector to)
MemoryEntry(RevisionVector from, RevisionVector to)
NamePathRev(@NotNull java.lang.String name, @NotNull Path path, @NotNull RevisionVector revision)
PathRev(@NotNull Path path, @NotNull RevisionVector revision)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.plugins.document.check
Fields in org.apache.jackrabbit.oak.plugins.document.check declared as RevisionVector Modifier and Type Field Description protected RevisionVector
AsyncNodeStateProcessor. headRevision
Constructors in org.apache.jackrabbit.oak.plugins.document.check with parameters of type RevisionVector Constructor Description AsyncNodeStateProcessor(DocumentNodeStore ns, RevisionVector headRevision, java.util.concurrent.ExecutorService executorService)
NodeCounter(DocumentNodeStore ns, RevisionVector headRevision, java.util.concurrent.ExecutorService executorService)
OrphanedNodeCheck(DocumentNodeStore ns, RevisionVector headRevision, java.util.concurrent.ExecutorService executorService)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.plugins.document.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo with parameters of type RevisionVector Modifier and Type Method Description protected SplitDocumentCleanUp
MongoVersionGCSupport. createCleanUp(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp, VersionGarbageCollector.VersionGCStats stats)
protected java.lang.Iterable<NodeDocument>
MongoVersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.plugins.document.rdb
Methods in org.apache.jackrabbit.oak.plugins.document.rdb with parameters of type RevisionVector Modifier and Type Method Description protected java.lang.Iterable<NodeDocument>
RDBVersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.plugins.document.secondary
Methods in org.apache.jackrabbit.oak.plugins.document.secondary that return RevisionVector Modifier and Type Method Description RevisionVector
DelegatingDocumentNodeState. getLastRevision()
RevisionVector
DelegatingDocumentNodeState. getRootRevision()
Methods in org.apache.jackrabbit.oak.plugins.document.secondary with parameters of type RevisionVector Modifier and Type Method Description @Nullable AbstractDocumentNodeState
SecondaryStoreCache. getDocumentNodeState(Path path, RevisionVector rootRevision, RevisionVector lastRev)
AbstractDocumentNodeState
DelegatingDocumentNodeState. withRootRevision(@NotNull RevisionVector root, boolean externalChange)
-
Uses of RevisionVector in org.apache.jackrabbit.oak.plugins.document.util
Methods in org.apache.jackrabbit.oak.plugins.document.util that return RevisionVector Modifier and Type Method Description RevisionVector
RevisionsKey. getRev1()
RevisionVector
RevisionsKey. getRev2()
static @NotNull RevisionVector
Utils. getStartRevisions(@NotNull java.lang.Iterable<ClusterNodeInfoDocument> clusterNodes)
Returns a revision vector that contains a revision for each of the passed cluster nodes with a revision timestamp that corresponds to the last known time when the cluster node was started.Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type RevisionVector Modifier and Type Method Description static long
Utils. getMinTimestampForDiff(@NotNull RevisionVector fromRev, @NotNull RevisionVector toRev, @NotNull RevisionVector minRevisions)
Returns the minimum timestamp to use for a query for child documents that have been modified betweenfromRev
andtoRev
.static boolean
Utils. isGreaterOrEquals(@NotNull RevisionVector a, @NotNull RevisionVector b)
Returns true if all the revisions in thea
greater or equals to their counterparts inb
.static boolean
Utils. isLocalChange(@NotNull RevisionVector from, @NotNull RevisionVector to, int clusterId)
Returnstrue
if changes identified by thefrom
andto
RevisionVector
are considered local changes.Constructors in org.apache.jackrabbit.oak.plugins.document.util with parameters of type RevisionVector Constructor Description RevisionsKey(RevisionVector r1, RevisionVector r2)
-