Class TaskResultStatistics

    • Field Detail

      • mNumSuccess

        public long mNumSuccess
      • mResponseTimeNsRaw

        public byte[] mResponseTimeNsRaw
      • mMaxResponseTimeNs

        public long[] mMaxResponseTimeNs
    • Constructor Detail

      • TaskResultStatistics

        protected TaskResultStatistics()
    • Method Detail

      • merge

        public void merge​(TaskResultStatistics 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 to SummaryStatistics.
        Returns:
        new SummaryStatistics
        Throws:
        java.util.zip.DataFormatException - if histogram decoding from compressed byte buffer fails