java.lang.Object
net.i2p.util.LogSuppressor.State
- Enclosing class:
LogSuppressor
Per-key bookkeeping. Replaced wholesale so readers never see a torn value.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final longOccurrence count when this key was last written.(package private) final longWall-clock ms when this key was last written.Constructor Summary
ConstructorsConstructorDescriptionState(long lastReportCount, long lastReportMs) Records when a key was last reported.Method Summary
Field Details
lastReportCount
final long lastReportCountOccurrence count when this key was last written.lastReportMs
final long lastReportMsWall-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 reportlastReportMs- when that report was made, in ms