public enum DsType extends java.lang.Enum<DsType> implements com.netflix.spectator.api.Tag
| Enum Constant and Description |
|---|
gauge
Sampled value that should be used as is without weighting.
|
rate
Rate per second that should use weighted averaging during normalization.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
key() |
java.lang.String |
value() |
static DsType |
valueOf(java.lang.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 rate
public static DsType[] values()
for (DsType c : DsType.values()) System.out.println(c);
public static DsType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String key()
key in interface com.netflix.spectator.api.Tagpublic java.lang.String value()
value in interface com.netflix.spectator.api.Tag