Class DriveMetrics


  • public class DriveMetrics
    extends Object
    • Field Detail

      • readBytes

        protected final long readBytes
      • readRequests

        protected final long readRequests
      • writeBytes

        protected final long writeBytes
      • writeRequests

        protected final long writeRequests
    • Constructor Detail

      • DriveMetrics

        public DriveMetrics​(long readBytes,
                            long readRequests,
                            long writeBytes,
                            long writeRequests)
    • Method Detail

      • getReadBytes

        public long getReadBytes()
        Returns:
        Cumulative i/o byte/request count for each drive
      • getReadRequests

        public long getReadRequests()
        Returns:
        Cumulative i/o byte/request count for each drive
      • getWriteBytes

        public long getWriteBytes()
        Returns:
        Cumulative i/o byte/request count for each drive
      • getWriteRequests

        public long getWriteRequests()
        Returns:
        Cumulative i/o byte/request count for each drive
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object