Class IOTaskResult.Point

  • All Implemented Interfaces:
    alluxio.util.JsonSerializable
    Enclosing class:
    IOTaskResult

    public static class IOTaskResult.Point
    extends java.lang.Object
    implements alluxio.util.JsonSerializable
    An object representation of a successful I/O operation to the UFS.
    • Constructor Summary

      Constructors 
      Constructor Description
      Point​(IOTaskResult.IOMode mode, double duration, long dataSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface alluxio.util.JsonSerializable

        getClassName, setClassName, toJson
    • Field Detail

      • mDurationSeconds

        public double mDurationSeconds
      • mDataSizeBytes

        public long mDataSizeBytes
    • Constructor Detail

      • Point

        public Point​(IOTaskResult.IOMode mode,
                     double duration,
                     long dataSize)
        Parameters:
        mode - the I/O mode
        duration - the time taken
        dataSize - the size of I/O in Bytes
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object