Package org.infinispan.commons.stat
Interface TimerTracker
public interface TimerTracker
Tracks a timer metric.
- Since:
- 13.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NO_OP
-
-
Method Details
-
update
Adds a record.- Parameters:
duration- The duration value.
-
update
Adds a record.- Parameters:
value- The value.timeUnit- TheTimeUnitof the value.
-
count
long count()- Returns:
- The amount of records.
-