Class Progress
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.check.Progress
-
- All Implemented Interfaces:
DocumentProcessor
- Direct Known Subclasses:
ProgressWithETA
public class Progress extends Object implements DocumentProcessor
Progress...
-
-
Constructor Summary
Constructors Constructor Description Progress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResultnewProgressResult(long numDocs, Path path)voidprocessDocument(@NotNull NodeDocument document, @NotNull BlockingQueue<Result> results)Process the given document and publish the result to theresultsqueue.-
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
-
processDocument
public void processDocument(@NotNull @NotNull NodeDocument document, @NotNull @NotNull BlockingQueue<Result> results) throws InterruptedExceptionDescription copied from interface:DocumentProcessorProcess the given document and publish the result to theresultsqueue. An implementation is not required to publish a result for each processed document.- Specified by:
processDocumentin interfaceDocumentProcessor- Parameters:
document- the document to process.results- the queue to publish results if necessary.- Throws:
InterruptedException- if publishing a result is interrupted.
-
-