@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, toString
getConfig, getValue
public ResettableCounter(MonitorConfig config)
StepCounter
public ResettableCounter(MonitorConfig config, long l)
Pollers
and StepCounter
.
Prefer a StepCounter