public static enum PerfCounterQuery.CounterDataSource extends Enum<PerfCounterQuery.CounterDataSource>
Enum Constant and Description |
---|
PDH
Performance Counter data will be pulled from a PDH Counter
|
WMI
Performance Counter data will be pulled from a WMI PerfData_RawData_* table
|
Modifier and Type | Method and Description |
---|---|
static PerfCounterQuery.CounterDataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PerfCounterQuery.CounterDataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PerfCounterQuery.CounterDataSource PDH
public static final PerfCounterQuery.CounterDataSource WMI
public static PerfCounterQuery.CounterDataSource[] values()
for (PerfCounterQuery.CounterDataSource c : PerfCounterQuery.CounterDataSource.values()) System.out.println(c);
public static PerfCounterQuery.CounterDataSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2019 oshi. All rights reserved.