Package org.infinispan.metrics.impl
Class FunctionTimerTrackerImpl
java.lang.Object
org.infinispan.metrics.impl.FunctionTimerTrackerImpl
- All Implemented Interfaces:
org.infinispan.commons.stat.TimerTracker
public class FunctionTimerTrackerImpl
extends Object
implements org.infinispan.commons.stat.TimerTracker
A
TimerTracker implementation that uses FunctionTimer instead of Timer.- See Also:
-
Field Summary
Fields inherited from interface org.infinispan.commons.stat.TimerTracker
NO_OP -
Method Summary
Modifier and TypeMethodDescriptionlongcount()io.micrometer.core.instrument.FunctionTimer.Builder<FunctionTimerTrackerImpl> Creates aFunctionTimer.Builderconfigured to collect the data from this instance.voidvoid
-
Method Details
-
update
- Specified by:
updatein interfaceorg.infinispan.commons.stat.TimerTracker
-
update
- Specified by:
updatein interfaceorg.infinispan.commons.stat.TimerTracker
-
count
public long count()- Specified by:
countin interfaceorg.infinispan.commons.stat.TimerTracker
-
create
public io.micrometer.core.instrument.FunctionTimer.Builder<FunctionTimerTrackerImpl> create(String metricName) Creates aFunctionTimer.Builderconfigured to collect the data from this instance.- Parameters:
metricName- The metric name.- Returns:
- The builder instance.
-