Class ReferenceCheck
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.check.AsyncDocumentProcessor
-
- org.apache.jackrabbit.oak.plugins.document.check.AsyncNodeStateProcessor
-
- org.apache.jackrabbit.oak.plugins.document.check.ReferenceCheck
-
- All Implemented Interfaces:
DocumentProcessor
public class ReferenceCheck extends AsyncNodeStateProcessor
Checks ifjcr:baseVersion
reference properties resolve to a node.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jackrabbit.oak.plugins.document.check.AsyncNodeStateProcessor
AsyncNodeStateProcessor.NodeStateTask
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.oak.plugins.document.check.AsyncNodeStateProcessor
headRevision, ns, uuidIndex
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
runTask(@NotNull Path path, @Nullable NodeState state, @NotNull Consumer<Result> resultConsumer)
Responsibility of the subclass to implement the processor logic.-
Methods inherited from class org.apache.jackrabbit.oak.plugins.document.check.AsyncNodeStateProcessor
createTask, getNodeByUUID, process
-
Methods inherited from class org.apache.jackrabbit.oak.plugins.document.check.AsyncDocumentProcessor
processDocument
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.plugins.document.check.DocumentProcessor
end
-
-
-
-
Method Detail
-
runTask
protected void runTask(@NotNull @NotNull Path path, @Nullable @Nullable NodeState state, @NotNull @NotNull Consumer<Result> resultConsumer)
Description copied from class:AsyncNodeStateProcessor
Responsibility of the subclass to implement the processor logic. This method will run as a task with an executor service.- Specified by:
runTask
in classAsyncNodeStateProcessor
- Parameters:
path
- the path of theNodeState
to process.state
- theNodeState
ornull
if the node does not exist at this path. This may happen for nodes that have been deleted but not yet garbage collected.resultConsumer
- consumes the results of this task.
-
-