public class JmxMethodInvocationStat extends Object implements MethodInvocationStat
| Constructor and Description |
|---|
JmxMethodInvocationStat(String name) |
| Modifier and Type | Method and Description |
|---|---|
io.airlift.stats.CounterStat |
getFailures() |
String |
getName() |
io.airlift.stats.CounterStat |
getSuccesses() |
io.airlift.stats.TimeStat |
getTime() |
void |
recordResult(long startTime,
com.google.common.util.concurrent.ListenableFuture<Object> result) |
String |
toString() |
public JmxMethodInvocationStat(String name)
public String getName()
public io.airlift.stats.TimeStat getTime()
public io.airlift.stats.CounterStat getSuccesses()
public io.airlift.stats.CounterStat getFailures()
public void recordResult(long startTime,
com.google.common.util.concurrent.ListenableFuture<Object> result)
recordResult in interface MethodInvocationStatCopyright © 2012–2018. All rights reserved.