public static interface CompactionLogger.Writer
| Modifier and Type | Method and Description |
|---|---|
void |
write(org.codehaus.jackson.JsonNode statement,
CompactionLogger.StrategySummary summary,
java.lang.Object tag) |
void |
writeStart(org.codehaus.jackson.JsonNode statement,
java.lang.Object tag)
This is used when we are already trying to write out the start of a
|
void writeStart(org.codehaus.jackson.JsonNode statement,
java.lang.Object tag)
statement - This should be written out to the medium capturing the logstag - This is an identifier for a strategy; each strategy should have a distinct Objectvoid write(org.codehaus.jackson.JsonNode statement,
CompactionLogger.StrategySummary summary,
java.lang.Object tag)
statement - This should be written out to the medium capturing the logssummary - This can be used when a tag is not recognized by this writer; this can be because the file
has been rolled, or otherwise the writer had to start overtag - This is an identifier for a strategy; each strategy should have a distinct ObjectCopyright © 2018 The Apache Software Foundation