Package oshi.hardware.platform.linux
Enum LinuxHWDiskStore.UdevStat
- java.lang.Object
-
- java.lang.Enum<LinuxHWDiskStore.UdevStat>
-
- oshi.hardware.platform.linux.LinuxHWDiskStore.UdevStat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LinuxHWDiskStore.UdevStat>
- Enclosing class:
- LinuxHWDiskStore
static enum LinuxHWDiskStore.UdevStat extends java.lang.Enum<LinuxHWDiskStore.UdevStat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_MS
QUEUE_LENGTH
READ_BYTES
READS
WRITE_BYTES
WRITES
-
Field Summary
Fields Modifier and Type Field Description private int
order
-
Constructor Summary
Constructors Modifier Constructor Description private
UdevStat(int order)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
static LinuxHWDiskStore.UdevStat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LinuxHWDiskStore.UdevStat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READS
public static final LinuxHWDiskStore.UdevStat READS
-
READ_BYTES
public static final LinuxHWDiskStore.UdevStat READ_BYTES
-
WRITES
public static final LinuxHWDiskStore.UdevStat WRITES
-
WRITE_BYTES
public static final LinuxHWDiskStore.UdevStat WRITE_BYTES
-
QUEUE_LENGTH
public static final LinuxHWDiskStore.UdevStat QUEUE_LENGTH
-
ACTIVE_MS
public static final LinuxHWDiskStore.UdevStat ACTIVE_MS
-
-
Method Detail
-
values
public static LinuxHWDiskStore.UdevStat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LinuxHWDiskStore.UdevStat c : LinuxHWDiskStore.UdevStat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinuxHWDiskStore.UdevStat valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getOrder
public int getOrder()
-
-