public class TaskResultStatistics
extends java.lang.Object
TaskResult.| Modifier and Type | Field and Description |
|---|---|
long[] |
mMaxResponseTimeNs |
long |
mNumSuccess |
byte[] |
mResponseTimeNsRaw |
| Modifier | Constructor and Description |
|---|---|
protected |
TaskResultStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
Encodes the histogram into the internal byte array.
|
void |
merge(TaskResultStatistics statistics)
Merges (updates) a task result statistics with this statistics.
|
SummaryStatistics |
toBenchSummaryStatistics()
Converts this class to
SummaryStatistics. |
public long mNumSuccess
public byte[] mResponseTimeNsRaw
public long[] mMaxResponseTimeNs
public void merge(TaskResultStatistics statistics) throws java.lang.Exception
statistics - the task result statistics to mergejava.lang.Exceptionpublic void encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
responseTimeNs - the histogram (in ns)public SummaryStatistics toBenchSummaryStatistics() throws java.util.zip.DataFormatException
SummaryStatistics.java.util.zip.DataFormatException - if histogram decoding from compressed byte buffer failsCopyright © 2023. All Rights Reserved.