Uses of Class
org.apache.jackrabbit.oak.spi.commit.CommitInfo
-
-
Uses of CommitInfo in org.apache.jackrabbit.oak.composite
Methods in org.apache.jackrabbit.oak.composite with parameters of type CommitInfo Modifier and Type Method Description protected Validator
CrossMountReferenceValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull Validator
PrivateStoreValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
NodeState
CompositeNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.composite.impl
Methods in org.apache.jackrabbit.oak.composite.impl with parameters of type CommitInfo Modifier and Type Method Description void
NonDefaultMountWriteReportingObserver. contentChanged(NodeState root, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.atomic
Methods in org.apache.jackrabbit.oak.plugins.atomic with parameters of type CommitInfo Modifier and Type Method Description Editor
AtomicCounterEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.commit
Methods in org.apache.jackrabbit.oak.plugins.commit with parameters of type CommitInfo Modifier and Type Method Description Validator
ConflictValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
ConflictHook. processCommit(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.cow
Methods in org.apache.jackrabbit.oak.plugins.cow with parameters of type CommitInfo Modifier and Type Method Description @NotNull NodeState
BranchNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
COWNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type CommitInfo Modifier and Type Method Description void
DocumentDiscoveryLiteService. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
Additionally the DocumentDiscoveryLiteService must be notified when the background-read has finished - as it could be waiting for a crashed node's recovery to finish - which it can only do by checking the lastKnownRevision of the crashed instance - and that check is best done after the background read is just finished (it could optionally do that just purely time based as well, but going via a listener is more timely, that's why this approach has been chosen).@NotNull NodeState
DocumentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
void
JournalEntry. readFrom(CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.document.bundlor
Methods in org.apache.jackrabbit.oak.plugins.document.bundlor with parameters of type CommitInfo Modifier and Type Method Description void
BundlingConfigHandler. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.document.secondary
Methods in org.apache.jackrabbit.oak.plugins.document.secondary with parameters of type CommitInfo Modifier and Type Method Description void
SecondaryStoreObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.index
Methods in org.apache.jackrabbit.oak.plugins.index that return CommitInfo Modifier and Type Method Description CommitInfo
IndexingContext. getCommitInfo()
Commit info associated with commit as part of which IndexEditor is being invokedMethods in org.apache.jackrabbit.oak.plugins.index with parameters of type CommitInfo Modifier and Type Method Description @Nullable Editor
IndexUpdateProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
Constructors in org.apache.jackrabbit.oak.plugins.index with parameters of type CommitInfo Constructor Description IndexUpdate(IndexEditorProvider provider, java.lang.String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, NodeTraversalCallback traversalCallback, CommitInfo commitInfo, CorruptIndexHandler corruptIndexHandler)
IndexUpdate(IndexEditorProvider provider, java.lang.String async, NodeState root, NodeBuilder builder, IndexUpdateCallback updateCallback, CommitInfo commitInfo)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.itemsave
Methods in org.apache.jackrabbit.oak.plugins.itemsave with parameters of type CommitInfo Modifier and Type Method Description protected @Nullable Validator
ItemSaveValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.memory
Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type CommitInfo Modifier and Type Method Description NodeState
MemoryNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
This implementation is equal to first rebasing the builder and then applying it to a new branch and immediately merging it back. -
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.migration.version
Methods in org.apache.jackrabbit.oak.plugins.migration.version with parameters of type CommitInfo Modifier and Type Method Description Editor
VersionableEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder rootBuilder, CommitInfo info)
Editor
VersionablePropertiesEditor.Provider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.name
Methods in org.apache.jackrabbit.oak.plugins.name with parameters of type CommitInfo Modifier and Type Method Description Editor
NamespaceEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
Validator
NameValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.nodetype
Methods in org.apache.jackrabbit.oak.plugins.nodetype with parameters of type CommitInfo Modifier and Type Method Description Editor
TypeEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.observation
Methods in org.apache.jackrabbit.oak.plugins.observation with parameters of type CommitInfo Modifier and Type Method Description protected abstract void
NodeObserver. added(@NotNull java.lang.String path, @NotNull java.util.Set<java.lang.String> added, @NotNull java.util.Set<java.lang.String> deleted, @NotNull java.util.Set<java.lang.String> changed, @NotNull java.util.Map<java.lang.String,java.lang.String> properties, @NotNull CommitInfo commitInfo)
A node atpath
has been added.protected abstract void
NodeObserver. changed(@NotNull java.lang.String path, @NotNull java.util.Set<java.lang.String> added, @NotNull java.util.Set<java.lang.String> deleted, @NotNull java.util.Set<java.lang.String> changed, @NotNull java.util.Map<java.lang.String,java.lang.String> properties, @NotNull CommitInfo commitInfo)
A node atpath
has been changed.void
FilteringAwareObserver. contentChanged(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)
Equivalent to the state-full contentChanged() method of the Observer with one important difference being that this variation explicitly passes the before NodeState (thus the observer must in this case not remember the previous state)void
FilteringDispatcher. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
FilteringObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
NodeObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
protected abstract void
NodeObserver. deleted(@NotNull java.lang.String path, @NotNull java.util.Set<java.lang.String> added, @NotNull java.util.Set<java.lang.String> deleted, @NotNull java.util.Set<java.lang.String> changed, @NotNull java.util.Map<java.lang.String,java.lang.String> properties, @NotNull CommitInfo commitInfo)
A node atpath
has been deleted.boolean
Filter. excludes(@NotNull NodeState root, @NotNull CommitInfo info)
Whether or not to exclude a particular content change from being forwarded to downstream observers.protected Validator
ChangeCollectorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
CommitRateLimiter. processCommit(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.observation.filter
Methods in org.apache.jackrabbit.oak.plugins.observation.filter with parameters of type CommitInfo Modifier and Type Method Description boolean
FilterProvider. includeCommit(@NotNull java.lang.String sessionId, @Nullable CommitInfo info)
Filter whole commits. -
Uses of CommitInfo in org.apache.jackrabbit.oak.plugins.version
Methods in org.apache.jackrabbit.oak.plugins.version with parameters of type CommitInfo Modifier and Type Method Description @NotNull NodeState
VersionHook. processCommit(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type CommitInfo Modifier and Type Method Description @NotNull Validator
AccessControlValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.security.authorization.permission
Methods in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type CommitInfo Modifier and Type Method Description @NotNull Validator
PermissionStoreValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull Validator
PermissionValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
PermissionHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
VersionablePathHook. processCommit(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.segment
Methods in org.apache.jackrabbit.oak.segment with parameters of type CommitInfo Modifier and Type Method Description @NotNull NodeState
SegmentNodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
LoggingHook. processCommit(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.segment.scheduler
Methods in org.apache.jackrabbit.oak.segment.scheduler that return CommitInfo Modifier and Type Method Description CommitInfo
Commit. info()
Methods in org.apache.jackrabbit.oak.segment.scheduler with parameters of type CommitInfo Modifier and Type Method Description protected void
LockBasedScheduler. contentChanged(NodeState root, CommitInfo info)
Constructors in org.apache.jackrabbit.oak.segment.scheduler with parameters of type CommitInfo Constructor Description Commit(@NotNull NodeBuilder changes, @NotNull CommitHook hook, @NotNull CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.spi.commit
Fields in org.apache.jackrabbit.oak.spi.commit declared as CommitInfo Modifier and Type Field Description static CommitInfo
CommitInfo. EMPTY
Empty commit information object.static CommitInfo
CommitInfo. EMPTY_EXTERNAL
Empty commit information object to be used for external changes.Methods in org.apache.jackrabbit.oak.spi.commit with parameters of type CommitInfo Modifier and Type Method Description void
BackgroundObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
ChangeDispatcher. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
CompositeObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
DiffObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
EmptyObserver. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
void
Observer. contentChanged(@NotNull NodeState root, @NotNull CommitInfo info)
Observes a content change.protected abstract NodeStateDiff
DiffObserver. getRootDiff(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)
Returns the diff handler to be used for the given content change.@Nullable Editor
CompositeEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
@Nullable Editor
EditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
Returns an editor for processing changes between the given two states.@Nullable Editor
ValidatorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
@Nullable Editor
WhiteboardEditorProvider. getRootEditor(NodeState before, NodeState after, NodeBuilder builder, CommitInfo info)
protected abstract @Nullable Validator
ValidatorProvider. getRootValidator(NodeState before, NodeState after, CommitInfo info)
Returns a validator for checking the changes between the given two root states.@NotNull NodeState
CommitHook. processCommit(NodeState before, NodeState after, CommitInfo info)
Validates and/or modifies the given content change before it gets persisted.@NotNull NodeState
CompositeHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
EditorHook. processCommit(@NotNull NodeState before, @NotNull NodeState after, @NotNull CommitInfo info)
@NotNull NodeState
EmptyHook. processCommit(NodeState before, NodeState after, CommitInfo info)
@NotNull NodeState
ResetCommitAttributeHook. processCommit(NodeState before, NodeState after, CommitInfo info)
-
Uses of CommitInfo in org.apache.jackrabbit.oak.spi.state
Methods in org.apache.jackrabbit.oak.spi.state with parameters of type CommitInfo Modifier and Type Method Description @NotNull NodeState
NodeStore. merge(@NotNull NodeBuilder builder, @NotNull CommitHook commitHook, @NotNull CommitInfo info)
@NotNull NodeState
NodeStoreBranch. merge(@NotNull CommitHook hook, @NotNull CommitInfo info)
Merges the changes in this branch to the main content tree.NodeState
ProxyNodeStore. merge(NodeBuilder builder, CommitHook commitHook, CommitInfo info)
-