Class FuseIOTaskResult

  • All Implemented Interfaces:
    TaskResult, alluxio.util.JsonSerializable

    public final class FuseIOTaskResult
    extends java.lang.Object
    implements TaskResult
    The task result for the Fuse IO stress tests.
    • Constructor Detail

      • FuseIOTaskResult

        public FuseIOTaskResult()
        Creates an instance.
    • Method Detail

      • merge

        public void merge​(FuseIOTaskResult result)
        Merges this thread result into the Fuse IO task result.
        Parameters:
        result - the result to merge
      • setBaseParameters

        public void setBaseParameters​(BaseParameters baseParameters)
        Parameters:
        baseParameters - the base parameters
      • getParameters

        public FuseIOParameters getParameters()
        Returns:
        the Fuse IO Stress Bench parameters
      • setParameters

        public void setParameters​(FuseIOParameters parameters)
        Parameters:
        parameters - the Fuse IO Stress Bench parameters
      • 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()
        Specified by:
        getErrors in interface TaskResult
        Returns:
        the list of errors in the result
      • 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)