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 Initializable
params
- params to use for initializationTikaConfigException
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
checkInitialization
in interface Initializable
problemHandler
- if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigException
public void close() throws IOException
PipesReporter
close
in interface Closeable
close
in interface AutoCloseable
close
in class PipesReporter
IOException
public void report(FetchEmitTuple t, PipesResult result, long elapsed)
report
in class PipesReporter
public void report(TotalCountResult totalCountResult)
PipesReporter
PipesReporter.supportsTotalCount()
to return true
report
in class PipesReporter
public boolean supportsTotalCount()
PipesReporter
supportsTotalCount
in class PipesReporter
false
as the baseline implementationCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.