Package alluxio.stress.master
Class MasterBenchTaskResultStatistics
- java.lang.Object
-
- alluxio.stress.master.MasterBenchTaskResultStatistics
-
public class MasterBenchTaskResultStatistics extends java.lang.ObjectStatistics class that is used inMasterBenchTaskResult.
-
-
Field Summary
Fields Modifier and Type Field Description long[]mMaxResponseTimeNslongmNumSuccessbyte[]mResponseTimeNsRaw
-
Constructor Summary
Constructors Constructor Description MasterBenchTaskResultStatistics()Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)Encodes the histogram into the internal byte array.voidmerge(MasterBenchTaskResultStatistics statistics)Merges (updates) a task result statistics with this statistics.SummaryStatisticstoMasterBenchSummaryStatistics()Converts this class toSummaryStatistics.
-
-
-
Method Detail
-
merge
public void merge(MasterBenchTaskResultStatistics statistics) throws java.lang.Exception
Merges (updates) a task result statistics with this statistics.- Parameters:
statistics- the task result statistics to merge- Throws:
java.lang.Exception
-
encodeResponseTimeNsRaw
public void encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
Encodes the histogram into the internal byte array.- Parameters:
responseTimeNs- the histogram (in ns)
-
toMasterBenchSummaryStatistics
public SummaryStatistics toMasterBenchSummaryStatistics() throws java.util.zip.DataFormatException
Converts this class toSummaryStatistics.- Returns:
- new SummaryStatistics
- Throws:
java.util.zip.DataFormatException- if histogram decoding from compressed byte buffer fails
-
-