@Deprecated public class ResettableCounter extends StepCounter
config| Constructor and Description |
|---|
ResettableCounter(MonitorConfig config)
Deprecated.
Creates a new instance.
|
ResettableCounter(MonitorConfig config,
long l)
Deprecated.
Creates a new instance configured for a given polling interval.
|
equals, getCount, getCurrentCount, getValue, hashCode, increment, increment, toStringgetConfig, getValuepublic ResettableCounter(MonitorConfig config)
StepCounterpublic ResettableCounter(MonitorConfig config, long l)
Pollers
and StepCounter.
Prefer a StepCounter