Package io.airlift.drift.server.stats
Class JmxMethodInvocationStat
java.lang.Object
io.airlift.drift.server.stats.JmxMethodInvocationStat
- All Implemented Interfaces:
MethodInvocationStat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.airlift.stats.CounterStatgetName()io.airlift.stats.CounterStatio.airlift.stats.TimeStatgetTime()voidrecordResult(long startTime, com.google.common.util.concurrent.ListenableFuture<Object> result) toString()
-
Constructor Details
-
JmxMethodInvocationStat
-
-
Method Details
-
getName
-
getTime
public io.airlift.stats.TimeStat getTime() -
getSuccesses
public io.airlift.stats.CounterStat getSuccesses() -
getFailures
public io.airlift.stats.CounterStat getFailures() -
recordResult
public void recordResult(long startTime, com.google.common.util.concurrent.ListenableFuture<Object> result) - Specified by:
recordResultin interfaceMethodInvocationStat
-
toString
-