Class FuseIOSummary

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

    public class FuseIOSummary
    extends java.lang.Object
    implements Summary
    The summary for Fuse IO stress bench.
    • Constructor Detail

      • FuseIOSummary

        public FuseIOSummary()
        Default constructor required for json deserialization.
      • FuseIOSummary

        public FuseIOSummary​(FuseIOParameters parameters,
                             BaseParameters baseParameters,
                             java.util.List<java.lang.String> nodes,
                             java.util.Map<java.lang.String,​java.util.List<java.lang.String>> errors,
                             long recordStartMs,
                             long endMs,
                             long ioBytes,
                             float ioMBps,
                             java.util.Map<java.lang.String,​java.lang.Float> clientsThroughput)
        Creates an instance.
        Parameters:
        parameters - the parameters for the Fuse IO stress bench
        baseParameters - the base parameters for the Fuse IO stress bench
        nodes - the unique ids of all job workers
        errors - all errors reported by job workers
        recordStartMs - the timestamp starting counting bytes
        endMs - the timestamp that the test ends
        ioBytes - total number of bytes processed by workers
        ioMBps - aggregated throughput data
        clientsThroughput - the throughput data of each job worker
    • Method Detail

      • getClientsThroughput

        public java.util.Map<java.lang.String,​java.lang.Float> getClientsThroughput()
        Returns:
        a map mapping job worker unique id to its throughput
      • setClientsThroughput

        public void setClientsThroughput​(java.util.Map<java.lang.String,​java.lang.Float> clientsThroughput)
        Parameters:
        clientsThroughput - the map mapping job worker unique id to its throughput
      • getNodes

        public java.util.List<java.lang.String> getNodes()
        Returns:
        the list of the unique ids of job workers
      • setNodes

        public void setNodes​(java.util.List<java.lang.String> nodes)
        Parameters:
        nodes - the list of the unique ids of job workers
      • getErrors

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

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

        public FuseIOParameters getParameters()
        Returns:
        Fuse IO stress bench parameters
      • setParameters

        public void setParameters​(FuseIOParameters parameters)
        Parameters:
        parameters - Fuse IO stress bench parameters
      • getBaseParameters

        public BaseParameters getBaseParameters()
        Returns:
        the base parameters
      • setBaseParameters

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

        public long getRecordStartMs()
        Returns:
        the timestamp starting counting bytes (in ms)
      • setRecordStartMs

        public void setRecordStartMs​(long recordStartMs)
        Parameters:
        recordStartMs - the timestamp starting counting bytes (in ms)
      • getEndMs

        public long getEndMs()
        Returns:
        the timestamp that test ends (in ms)
      • setEndMs

        public void setEndMs​(long endMs)
        Parameters:
        endMs - the timestamp that test ends (in ms)
      • getIOBytes

        public long getIOBytes()
        Returns:
        total number of bytes processed during test time
      • setIOBytes

        public void setIOBytes​(long ioBytes)
        Parameters:
        ioBytes - total number of bytes processed during test time
      • getIOMBps

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

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