Interface IndexingReporter
-
- All Known Implementing Classes:
ConsoleIndexingReporter
public interface IndexingReporter
Stores diagnostic and performance information about indexing operations for reporting at the end of the indexing job.
-
-
Field Summary
Fields Modifier and Type Field Description static IndexingReporter
NOOP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConfig(String key, Object value)
void
addInformation(String value)
void
addMetric(String name, long value)
void
addMetricByteSize(String name, long value)
Similar toaddMetric(String, long)
but size should be logged in a human-friendly format, that is, something likevoid
addTiming(String stage, String time)
String
generateReport()
void
setIndexNames(List<String> indexes)
-
-
-
Field Detail
-
NOOP
static final IndexingReporter NOOP
-
-
Method Detail
-
addMetric
void addMetric(String name, long value)
-
addInformation
void addInformation(String value)
-
addMetricByteSize
void addMetricByteSize(String name, long value)
Similar toaddMetric(String, long)
but size should be logged in a human-friendly format, that is, something likefoo.bar 123456789 (123 MiB)
-
generateReport
String generateReport()
-
-