Interface CompactionLogger.Writer
-
- Enclosing class:
- CompactionLogger
public static interface CompactionLogger.WriterThis is an interface to allow writing to a different interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(com.fasterxml.jackson.databind.JsonNode statement, CompactionLogger.StrategySummary summary, java.lang.Object tag)voidwriteStart(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
-
-
-
Method Detail
-
writeStart
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- Parameters:
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 Object
-
write
void write(com.fasterxml.jackson.databind.JsonNode statement, CompactionLogger.StrategySummary summary, java.lang.Object tag)- Parameters:
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 Object
-
-