java.lang.Object
net.i2p.util.LogSuppressor.State
Enclosing class:
LogSuppressor

private static final class LogSuppressor.Stateextends Object
Per-key bookkeeping. Replaced wholesale so readers never see a torn value.
  • Field Details

    • lastReportCount

      final long lastReportCount
      Occurrence count when this key was last written.
    • lastReportMs

      final long lastReportMs
      Wall-clock ms when this key was last written.
  • Constructor Details

    • State

      State(long lastReportCount, long lastReportMs)
      Records when a key was last reported.
      Parameters:
      lastReportCount - the message count at that report
      lastReportMs - when that report was made, in ms