Enum Class MacHWDiskStore.CFKey
- All Implemented Interfaces:
Serializable, Comparable<MacHWDiskStore.CFKey>, Constable
- Enclosing class:
MacHWDiskStore
Strings to convert to CFStringRef for pointer lookups.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBSD unit number.DiskArbitration device model.DiskArbitration media name.DiskArbitration media size.DiskArbitration volume name.IOPropertyMatch key.Leaf node indicator.IOKit model property.Read bytes count.Read operations count.Read time.Statistics dictionary key.Whole disk indicator.Write bytes count.Write operations count.Write time. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets the CoreFoundation key string.static MacHWDiskStore.CFKeyReturns the enum constant of this class with the specified name.static MacHWDiskStore.CFKey[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IO_PROPERTY_MATCH
IOPropertyMatch key. -
STATISTICS
Statistics dictionary key. -
READ_OPS
Read operations count. -
READ_BYTES
Read bytes count. -
READ_TIME
Read time. -
WRITE_OPS
Write operations count. -
WRITE_BYTES
Write bytes count. -
WRITE_TIME
Write time. -
BSD_UNIT
BSD unit number. -
LEAF
Leaf node indicator. -
WHOLE
Whole disk indicator. -
DA_MEDIA_NAME
DiskArbitration media name. -
DA_VOLUME_NAME
DiskArbitration volume name. -
DA_MEDIA_SIZE
DiskArbitration media size. -
DA_DEVICE_MODEL
DiskArbitration device model. -
MODEL
IOKit model property.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getKey
-