Class FuseIOTaskResult.ThreadCountResult

  • Enclosing class:
    FuseIOTaskResult

    public static final class FuseIOTaskResult.ThreadCountResult
    extends java.lang.Object
    A result for a single thread count test.
    • Constructor Detail

      • ThreadCountResult

        public ThreadCountResult()
        Creates an instance.
    • Method Detail

      • getDurationMs

        public long getDurationMs()
        Returns:
        the duration (in ms)
      • setDurationMs

        public void setDurationMs​(long durationMs)
        Parameters:
        durationMs - the duration (in ms)
      • getIOBytes

        public long getIOBytes()
        Returns:
        bytes of IO
      • incrementIOBytes

        public void incrementIOBytes​(long ioBytes)
        Increments the bytes of IO an amount.
        Parameters:
        ioBytes - the amount to increment by
      • setIOBytes

        public void setIOBytes​(long ioBytes)
        Parameters:
        ioBytes - bytes of IO
      • getRecordStartMs

        public long getRecordStartMs()
        Returns:
        the start time (in ms)
      • setRecordStartMs

        public void setRecordStartMs​(long recordStartMs)
        Parameters:
        recordStartMs - the start time (in ms)
      • getEndMs

        public long getEndMs()
        Returns:
        the end time (in ms)
      • setEndMs

        public void setEndMs​(long endMs)
        Parameters:
        endMs - the end time (in ms)
      • getErrors

        public java.util.List<java.lang.String> getErrors()
        Returns:
        the list of errors
      • setErrors

        public void setErrors​(java.util.List<java.lang.String> errors)
        Parameters:
        errors - the list of errors
      • addErrorMessage

        public void addErrorMessage​(java.lang.String errMessage)
        Parameters:
        errMessage - the error message to add
      • getIOMBps

        public float getIOMBps()
        Returns:
        the throughput (MB/s)
      • setIOMBps

        public void setIOMBps​(float ioMBps)
        Parameters:
        ioMBps - the throughput (MB / s)