Uses of Class
org.apache.jackrabbit.oak.plugins.document.RevisionVector
-
Packages that use RevisionVector Package Description org.apache.jackrabbit.oak.plugins.document org.apache.jackrabbit.oak.plugins.document.mongo org.apache.jackrabbit.oak.plugins.document.rdb Implementations ofDocumentStoreandBlobStorefor relational databases.org.apache.jackrabbit.oak.plugins.document.secondary org.apache.jackrabbit.oak.plugins.document.util -
-
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 RevisionVectorRevisionVector. asBranchRevision(int clusterId)A clone of this revision vector with the revision for the given clusterId set to a branch revision.RevisionVectorRevisionVector. asTrunkRevision()Returns a revision vector where all revision elements are turned into trunk revisions.RevisionVectorRevisionVector. difference(RevisionVector vector)Returns the difference of this and the other vector.static RevisionVectorRevisionVector. fromString(java.lang.String s)Creates a revision vector from a string representation as returned byasString().@NotNull RevisionVectorMemoryDiffCache.Key. getFromRevision()@NotNull RevisionVectorDocumentNodeStore. getHeadRevision()@NotNull RevisionVectorRevisionContext. getHeadRevision()abstract RevisionVectorAbstractDocumentNodeState. getLastRevision()RevisionVectorDocumentNodeState. getLastRevision()@NotNull RevisionVectorNamePathRev. getRevision()RevisionVectorPathRev. getRevision()abstract RevisionVectorAbstractDocumentNodeState. getRootRevision()@NotNull RevisionVectorDocumentNodeState. getRootRevision()Returns the root revision for this node state.@NotNull RevisionVectorMemoryDiffCache.Key. getToRevision()RevisionVectorRevisionVector. pmax(@NotNull RevisionVector vector)Calculates the parallel maximum of this and the givenvector.RevisionVectorRevisionVector. pmin(@NotNull RevisionVector vector)Calculates the parallel minimum of this and the givenvector.RevisionVectorRevisionVector. remove(int clusterId)Returns a RevisionVector without the revision element with the givenclusterId.RevisionVectorRevisionVector. 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 voidCommit. applyToCache(RevisionVector before, boolean isBranchCommit)Apply the changes to the DocumentNodeStore (to update the cache).intRevisionVector. compareTo(@NotNull RevisionVector other)protected SplitDocumentCleanUpVersionGCSupport. createCleanUp(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp, VersionGarbageCollector.VersionGCStats stats)RevisionVectorRevisionVector. difference(RevisionVector vector)Returns the difference of this and the other vector.java.lang.StringLocalDiffCache. getChanges(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)@Nullable java.lang.StringMemoryDiffCache. getChanges(@NotNull RevisionVector from, @NotNull RevisionVector to, @NotNull Path path, @Nullable org.apache.jackrabbit.oak.plugins.document.DiffCache.Loader loader)@Nullable AbstractDocumentNodeStateDocumentNodeStateCache. getDocumentNodeState(Path path, RevisionVector rootRevision, RevisionVector lastRev)Get the node for the given path and revision.@Nullable RevisionNodeDocument. 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 DocumentNodeStateDocumentNodeStore. getNode(@NotNull Path path, @NotNull RevisionVector rev)Get the node for the given path and revision.@Nullable DocumentNodeStateNodeDocument. getNodeAtRevision(@NotNull DocumentNodeStore nodeStore, @NotNull RevisionVector readRevision, @Nullable Revision lastModified)Returns aDocumentNodeStateas seen at the givenreadRevision.protected java.lang.Iterable<NodeDocument>VersionGCSupport. identifyGarbage(java.util.Set<NodeDocument.SplitDocType> gcTypes, RevisionVector sweepRevs, long oldestRevTimeStamp)protected static booleanVersionGCSupport. isDefaultNoBranchSplitNewerThan(NodeDocument doc, RevisionVector sweepRevs)Returnstrueif the given document is of typeNodeDocument.SplitDocType.DEFAULT_NO_BRANCHand the most recent change on the document is newer than thesweepRevs.@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.EntryLocalDiffCache. newEntry(@NotNull RevisionVector from, @NotNull RevisionVector to, boolean local)@NotNull org.apache.jackrabbit.oak.plugins.document.DiffCache.EntryMemoryDiffCache. newEntry(@NotNull RevisionVector from, @NotNull RevisionVector to, boolean local)RevisionVectorRevisionVector. pmax(@NotNull RevisionVector vector)Calculates the parallel maximum of this and the givenvector.RevisionVectorRevisionVector. 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 Function<java.lang.String,java.lang.Long> binarySize)Returns update operations to split this document.abstract AbstractDocumentNodeStateAbstractDocumentNodeState. withRootRevision(@NotNull RevisionVector root, boolean externalChange)Creates a copy of thisDocumentNodeStatewith theAbstractDocumentNodeState.getRootRevision()set to the givenrootrevision.DocumentNodeStateDocumentNodeState. withRootRevision(@NotNull RevisionVector root, boolean externalChange)Creates a copy of thisDocumentNodeStatewith theDocumentNodeState.rootRevisionset to the givenrootrevision.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,org.apache.jackrabbit.oak.api.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.mongo
Methods in org.apache.jackrabbit.oak.plugins.document.mongo with parameters of type RevisionVector Modifier and Type Method Description protected SplitDocumentCleanUpMongoVersionGCSupport. 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 RevisionVectorDelegatingDocumentNodeState. getLastRevision()RevisionVectorDelegatingDocumentNodeState. getRootRevision()Methods in org.apache.jackrabbit.oak.plugins.document.secondary with parameters of type RevisionVector Modifier and Type Method Description @Nullable AbstractDocumentNodeStateSecondaryStoreCache. getDocumentNodeState(Path path, RevisionVector rootRevision, RevisionVector lastRev)AbstractDocumentNodeStateDelegatingDocumentNodeState. 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 RevisionVectorRevisionsKey. getRev1()RevisionVectorRevisionsKey. getRev2()static @NotNull RevisionVectorUtils. 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 longUtils. 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 betweenfromRevandtoRev.static booleanUtils. isGreaterOrEquals(@NotNull RevisionVector a, @NotNull RevisionVector b)Returns true if all the revisions in theagreater or equals to their counterparts inb.static booleanUtils. isLocalChange(@NotNull RevisionVector from, @NotNull RevisionVector to, int clusterId)Returnstrueif changes identified by thefromandtoRevisionVectorare considered local changes.Constructors in org.apache.jackrabbit.oak.plugins.document.util with parameters of type RevisionVector Constructor Description RevisionsKey(RevisionVector r1, RevisionVector r2)
-