Package org.apache.bookkeeper.stats
Class OpStatsData
- java.lang.Object
-
- org.apache.bookkeeper.stats.OpStatsData
-
public class OpStatsData extends java.lang.ObjectThis class provides a read view of operation specific stats. We expose this to JMX. We use primitives because the class has to conform to CompositeViewData.
-
-
Constructor Summary
Constructors Constructor Description OpStatsData(long numSuccessfulEvents, long numFailedEvents, double avgLatencyMillis, long[] percentileLatenciesMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAvgLatencyMillis()longgetNumFailedEvents()longgetNumSuccessfulEvents()longgetP10Latency()longgetP50Latency()longgetP90Latency()longgetP9999Latency()longgetP999Latency()longgetP99Latency()
-
-
-
Method Detail
-
getP10Latency
public long getP10Latency()
-
getP50Latency
public long getP50Latency()
-
getP90Latency
public long getP90Latency()
-
getP99Latency
public long getP99Latency()
-
getP999Latency
public long getP999Latency()
-
getP9999Latency
public long getP9999Latency()
-
getNumSuccessfulEvents
public long getNumSuccessfulEvents()
-
getNumFailedEvents
public long getNumFailedEvents()
-
getAvgLatencyMillis
public double getAvgLatencyMillis()
-
-