Class ServerMetrics


  • public class ServerMetrics
    extends Object
    • Field Detail

      • txPackets

        protected final long txPackets
      • tx

        protected final long tx
      • rxPackets

        protected final long rxPackets
      • rx

        protected final long rx
    • Constructor Detail

      • ServerMetrics

        public ServerMetrics​(long tx,
                             long txPackets,
                             long rx,
                             long rxPackets,
                             Map<String,​? extends DriveMetrics> driveMetrics)
    • Method Detail

      • getTxPackets

        public long getTxPackets()
      • getTx

        public long getTx()
      • getRxPackets

        public long getRxPackets()
      • getRx

        public long getRx()
      • getDriveMetrics

        public Map<String,​? extends DriveMetrics> getDriveMetrics()
        Returns:
        metrics keyed on device id ex. ide:0:0
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object