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 SummaryConstructors Constructor Description OpStatsData(long numSuccessfulEvents, long numFailedEvents, double avgLatencyMillis, long[] percentileLatenciesMillis)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAvgLatencyMillis()longgetNumFailedEvents()longgetNumSuccessfulEvents()longgetP10Latency()longgetP50Latency()longgetP90Latency()longgetP9999Latency()longgetP999Latency()longgetP99Latency()
 
- 
- 
- 
Method Detail- 
getP10Latencypublic long getP10Latency() 
 - 
getP50Latencypublic long getP50Latency() 
 - 
getP90Latencypublic long getP90Latency() 
 - 
getP99Latencypublic long getP99Latency() 
 - 
getP999Latencypublic long getP999Latency() 
 - 
getP9999Latencypublic long getP9999Latency() 
 - 
getNumSuccessfulEventspublic long getNumSuccessfulEvents() 
 - 
getNumFailedEventspublic long getNumFailedEvents() 
 - 
getAvgLatencyMillispublic double getAvgLatencyMillis() 
 
- 
 
-