public enum DSType extends Enum<DSType>
Enum Constant and Description |
---|
ABSOLUTE
The absolute data source.
|
COUNTER
The counter data source.
|
DERIVE
The derive data source.
|
GAUGE
The gauge data source.
|
Modifier and Type | Method and Description |
---|---|
static DSType |
fromValue(String v)
From value.
|
String |
value()
Gets the DS Value.
|
static DSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DSType GAUGE
public static final DSType COUNTER
public static final DSType DERIVE
public static final DSType ABSOLUTE
public static DSType[] values()
for (DSType c : DSType.values()) System.out.println(c);
public static DSType 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 nullpublic String value()
Copyright © 2020. All rights reserved.