java.lang.Object
net.i2p.util.LogSuppressor.Decision
- Enclosing class:
LogSuppressor
What the caller should do with one occurrence.
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanTrue if this occurrence should be written.final longOccurrences collapsed since the previous write; zero when none.Constructor Summary
ConstructorsConstructorDescriptionDecision(boolean log, long suppressed) Record what the caller should do with one occurrence.Method Summary
Field Details
log
public final boolean logTrue if this occurrence should be written.suppressed
public final long suppressedOccurrences collapsed since the previous write; zero when none.
Constructor Details
Decision
Decision(boolean log, long suppressed) Record what the caller should do with one occurrence.- Parameters:
log- true if this occurrence should be writtensuppressed- how many repeats this write stands in for, 0 for the first