public static interface CompactionLogger.Writer
Modifier and Type | Method and Description |
---|---|
void |
write(com.fasterxml.jackson.databind.JsonNode statement,
CompactionLogger.StrategySummary summary,
java.lang.Object tag) |
void |
writeStart(com.fasterxml.jackson.databind.JsonNode statement,
java.lang.Object tag)
This is used when we are already trying to write out the start of a
|
void writeStart(com.fasterxml.jackson.databind.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(com.fasterxml.jackson.databind.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 © 2009- The Apache Software Foundation