Enum Class MemoryInformation.PageSwapProperty
java.lang.Object
java.lang.Enum<MemoryInformation.PageSwapProperty>
oshi.driver.common.windows.perfmon.MemoryInformation.PageSwapProperty
- All Implemented Interfaces:
Serializable, Comparable<MemoryInformation.PageSwapProperty>, Constable, PdhCounterProperty
- Enclosing class:
MemoryInformation
public static enum MemoryInformation.PageSwapProperty
extends Enum<MemoryInformation.PageSwapProperty>
implements PdhCounterProperty
For pages in/out
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPages read from disk per second.Pages written to disk per second. -
Method Summary
Modifier and TypeMethodDescriptionGets the PDH counter name.Gets the PDH counter instance name.Returns the enum constant of this class with the specified name.static MemoryInformation.PageSwapProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAGESINPUTPERSEC
Pages read from disk per second. -
PAGESOUTPUTPERSEC
Pages written to disk per second.
-
-
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
-
getInstance
Description copied from interface:PdhCounterPropertyGets the PDH counter instance name.- Specified by:
getInstancein interfacePdhCounterProperty- Returns:
- Returns the instance.
-
getCounter
Description copied from interface:PdhCounterPropertyGets the PDH counter name.- Specified by:
getCounterin interfacePdhCounterProperty- Returns:
- Returns the counter.
-