public class FileSystemStatusReporter extends PipesReporter implements Initializable
NO_OP_REPORTER| Constructor and Description |
|---|
FileSystemStatusReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
void |
close()
No-op implementation.
|
void |
initialize(Map<String,Param> params) |
void |
report(FetchEmitTuple t,
PipesResult result,
long elapsed) |
void |
report(TotalCountResult totalCountResult)
No-op implementation.
|
void |
setReportUpdateMillis(long millis) |
void |
setStatusFile(String path) |
boolean |
supportsTotalCount()
Override this if your reporter supports total count.
|
@Field public void setReportUpdateMillis(long millis)
public void initialize(Map<String,Param> params) throws TikaConfigException
initialize in interface Initializableparams - params to use for initializationTikaConfigExceptionpublic void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization in interface InitializableproblemHandler - if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigExceptionpublic void close()
throws IOException
PipesReporterclose in interface Closeableclose in interface AutoCloseableclose in class PipesReporterIOExceptionpublic void report(FetchEmitTuple t, PipesResult result, long elapsed)
report in class PipesReporterpublic void report(TotalCountResult totalCountResult)
PipesReporterPipesReporter.supportsTotalCount()
to return truereport in class PipesReporterpublic boolean supportsTotalCount()
PipesReportersupportsTotalCount in class PipesReporterfalse as the baseline implementationCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.