Package org.apache.bookkeeper.stats
Class OpStatsData
- java.lang.Object
-
- org.apache.bookkeeper.stats.OpStatsData
-
public class OpStatsData extends java.lang.Object
This 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 double
getAvgLatencyMillis()
long
getNumFailedEvents()
long
getNumSuccessfulEvents()
long
getP10Latency()
long
getP50Latency()
long
getP90Latency()
long
getP9999Latency()
long
getP999Latency()
long
getP99Latency()
-
-
-
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()
-
-