public class MasterBenchTaskResultStatistics extends Object
MasterBenchTaskResult
.Modifier and Type | Field and Description |
---|---|
long[] |
mMaxResponseTimeNs |
long |
mNumSuccess |
byte[] |
mResponseTimeNsRaw |
Constructor and Description |
---|
MasterBenchTaskResultStatistics()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
Encodes the histogram into the internal byte array.
|
void |
merge(MasterBenchTaskResultStatistics statistics)
Merges (updates) a task result statistics with this statistics.
|
SummaryStatistics |
toMasterBenchSummaryStatistics()
Converts this class to
SummaryStatistics . |
public long mNumSuccess
public byte[] mResponseTimeNsRaw
public long[] mMaxResponseTimeNs
public MasterBenchTaskResultStatistics()
public void merge(MasterBenchTaskResultStatistics statistics) throws Exception
statistics
- the task result statistics to mergeException
public void encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
responseTimeNs
- the histogram (in ns)public SummaryStatistics toMasterBenchSummaryStatistics() throws DataFormatException
SummaryStatistics
.DataFormatException
- if histogram decoding from compressed byte buffer failsCopyright © 2023. All Rights Reserved.