Package org.apache.tika.pipes
Class LoggingPipesReporter
- java.lang.Object
-
- org.apache.tika.pipes.PipesReporter
-
- org.apache.tika.pipes.LoggingPipesReporter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class LoggingPipesReporter extends PipesReporter
Simple PipesReporter that logs everything at the debug level.
-
-
Field Summary
-
Fields inherited from class org.apache.tika.pipes.PipesReporter
NO_OP_REPORTER
-
-
Constructor Summary
Constructors Constructor Description LoggingPipesReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(String msg)This is called if the process has crashed.voiderror(Throwable t)This is called if the process has crashed.voidreport(FetchEmitTuple t, PipesResult result, long elapsed)-
Methods inherited from class org.apache.tika.pipes.PipesReporter
close, report, supportsTotalCount
-
-
-
-
Method Detail
-
report
public void report(FetchEmitTuple t, PipesResult result, long elapsed)
- Specified by:
reportin classPipesReporter
-
error
public void error(Throwable t)
Description copied from class:PipesReporterThis is called if the process has crashed. Implementers should not rely on close() to be called after this.- Specified by:
errorin classPipesReporter
-
error
public void error(String msg)
Description copied from class:PipesReporterThis is called if the process has crashed. Implementers should not rely on close() to be called after this.- Specified by:
errorin classPipesReporter
-
-