Package alluxio.stress.jobservice
Class JobServiceBenchTaskResultStatistics
- java.lang.Object
-
- alluxio.stress.jobservice.JobServiceBenchTaskResultStatistics
-
public class JobServiceBenchTaskResultStatistics extends java.lang.ObjectStatistics class that is used inJobServiceBenchTaskResult.
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_RESPONSE_BUCKETSlong[]mMaxResponseTimeNslongmNumSuccessbyte[]mResponseTimeNsRaw
-
Constructor Summary
Constructors Constructor Description JobServiceBenchTaskResultStatistics()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(JobServiceBenchTaskResultStatistics statistics)Merges (updates) a task result statistics with this statistics.SummaryStatisticstoBenchSummaryStatistics()Converts this class toSummaryStatistics.
-
-
-
Field Detail
-
mNumSuccess
public long mNumSuccess
-
MAX_RESPONSE_BUCKETS
public static final int MAX_RESPONSE_BUCKETS
- See Also:
- Constant Field Values
-
mResponseTimeNsRaw
public byte[] mResponseTimeNsRaw
-
mMaxResponseTimeNs
public long[] mMaxResponseTimeNs
-
-
Method Detail
-
merge
public void merge(JobServiceBenchTaskResultStatistics 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)
-
toBenchSummaryStatistics
public SummaryStatistics toBenchSummaryStatistics() 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
-
-