Enum DiskStats.IoStat

java.lang.Object
java.lang.Enum<DiskStats.IoStat>
oshi.driver.linux.proc.DiskStats.IoStat
All Implemented Interfaces:
Serializable, Comparable<DiskStats.IoStat>
Enclosing class:
DiskStats

public static enum DiskStats.IoStat extends Enum<DiskStats.IoStat>
Enum corresponding to the fields in the output of /proc/diskstats
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The total number of discards completed successfully.
    Discards which are adjacent to each other merged for efficiency.
    The total number of milliseconds spent by all discards.
    The total number of sectors discarded successfully.
    The total number of flush requests completed successfully.
    The total number of milliseconds spent by all flush requests.
    The total number of milliseconds spent doing I/Os.
    Incremented at each I/O start, I/O completion, I/O merge, or read of these stats by the number of I/Os in progress IO_QUEUE_LENGTH times the number of milliseconds spent doing I/O since the last update of this field.
    Incremented as requests are given to appropriate struct request_queue and decremented as they finish.
    The device major number.
    The device minor number.
    The device name.
    The total number of reads completed successfully.
    Reads which are adjacent to each other merged for efficiency.
    The total number of milliseconds spent by all reads.
    The total number of sectors read successfully.
    The total number of writes completed successfully.
    Writes which are adjacent to each other merged for efficiency.
    The total number of milliseconds spent by all writes.
    The total number of sectors written successfully.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MAJOR

      public static final DiskStats.IoStat MAJOR
      The device major number.
    • MINOR

      public static final DiskStats.IoStat MINOR
      The device minor number.
    • NAME

      public static final DiskStats.IoStat NAME
      The device name.
    • READS

      public static final DiskStats.IoStat READS
      The total number of reads completed successfully.
    • READS_MERGED

      public static final DiskStats.IoStat READS_MERGED
      Reads which are adjacent to each other merged for efficiency.
    • READS_SECTOR

      public static final DiskStats.IoStat READS_SECTOR
      The total number of sectors read successfully.
    • READS_MS

      public static final DiskStats.IoStat READS_MS
      The total number of milliseconds spent by all reads.
    • WRITES

      public static final DiskStats.IoStat WRITES
      The total number of writes completed successfully.
    • WRITES_MERGED

      public static final DiskStats.IoStat WRITES_MERGED
      Writes which are adjacent to each other merged for efficiency.
    • WRITES_SECTOR

      public static final DiskStats.IoStat WRITES_SECTOR
      The total number of sectors written successfully.
    • WRITES_MS

      public static final DiskStats.IoStat WRITES_MS
      The total number of milliseconds spent by all writes.
    • IO_QUEUE_LENGTH

      public static final DiskStats.IoStat IO_QUEUE_LENGTH
      Incremented as requests are given to appropriate struct request_queue and decremented as they finish.
    • IO_MS

      public static final DiskStats.IoStat IO_MS
      The total number of milliseconds spent doing I/Os.
    • IO_MS_WEIGHTED

      public static final DiskStats.IoStat IO_MS_WEIGHTED
      Incremented at each I/O start, I/O completion, I/O merge, or read of these stats by the number of I/Os in progress IO_QUEUE_LENGTH times the number of milliseconds spent doing I/O since the last update of this field.
    • DISCARDS

      public static final DiskStats.IoStat DISCARDS
      The total number of discards completed successfully.
    • DISCARDS_MERGED

      public static final DiskStats.IoStat DISCARDS_MERGED
      Discards which are adjacent to each other merged for efficiency.
    • DISCARDS_SECTOR

      public static final DiskStats.IoStat DISCARDS_SECTOR
      The total number of sectors discarded successfully.
    • DISCARDS_MS

      public static final DiskStats.IoStat DISCARDS_MS
      The total number of milliseconds spent by all discards.
    • FLUSHES

      public static final DiskStats.IoStat FLUSHES
      The total number of flush requests completed successfully.
    • FLUSHES_MS

      public static final DiskStats.IoStat FLUSHES_MS
      The total number of milliseconds spent by all flush requests.
  • Method Details

    • values

      public static DiskStats.IoStat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DiskStats.IoStat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null