Class JmxMethodInvocationStat

java.lang.Object
io.airlift.drift.server.stats.JmxMethodInvocationStat
All Implemented Interfaces:
MethodInvocationStat

public class JmxMethodInvocationStat extends Object implements MethodInvocationStat
  • Constructor Details

    • JmxMethodInvocationStat

      public JmxMethodInvocationStat(String name)
  • Method Details

    • getName

      public String 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:
      recordResult in interface MethodInvocationStat
    • toString

      public String toString()
      Overrides:
      toString in class Object