Interface CompactionLogger.Writer

Enclosing class:
CompactionLogger

public static interface CompactionLogger.Writer
This is an interface to allow writing to a different interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(com.fasterxml.jackson.databind.JsonNode statement, CompactionLogger.StrategySummary summary, Object tag)
     
    void
    writeStart(com.fasterxml.jackson.databind.JsonNode statement, Object tag)
    This is used when we are already trying to write out the start of a
  • Method Details

    • writeStart

      void writeStart(com.fasterxml.jackson.databind.JsonNode statement, 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 logs
      tag - 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, Object tag)
      Parameters:
      statement - This should be written out to the medium capturing the logs
      summary - 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 over
      tag - This is an identifier for a strategy; each strategy should have a distinct Object