Package org.infinispan.commons.stat
Class SimpleStateWithTimer
java.lang.Object
org.infinispan.commons.stat.DefaultSimpleStat
org.infinispan.commons.stat.SimpleStateWithTimer
- All Implemented Interfaces:
SimpleStat
A
SimpleStat
implementation that also updates a TimerTracker
object.- Since:
- 13.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields inherited from interface org.infinispan.commons.stat.SimpleStat
EMPTY
-
Constructor Summary
-
Method Summary
Methods inherited from class org.infinispan.commons.stat.DefaultSimpleStat
count, getAverage, getMax, getMin, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.commons.stat.SimpleStat
isEmpty
-
Constructor Details
-
SimpleStateWithTimer
public SimpleStateWithTimer()
-
-
Method Details
-
record
public void record(long value) - Specified by:
record
in interfaceSimpleStat
- Overrides:
record
in classDefaultSimpleStat
-
setTimer
- Specified by:
setTimer
in interfaceSimpleStat
- Overrides:
setTimer
in classDefaultSimpleStat
-