public enum DseSessionMetric extends Enum<DseSessionMetric> implements SessionMetric
dse-reference.conf
for a description of each metric.Enum Constant and Description |
---|
CONTINUOUS_CQL_REQUESTS |
Modifier and Type | Method and Description |
---|---|
static DseSessionMetric |
fromPath(String path) |
String |
getPath() |
static DseSessionMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DseSessionMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DseSessionMetric CONTINUOUS_CQL_REQUESTS
public static DseSessionMetric[] values()
for (DseSessionMetric c : DseSessionMetric.values()) System.out.println(c);
public static DseSessionMetric 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 null@NonNull public String getPath()
getPath
in interface SessionMetric
@NonNull public static DseSessionMetric fromPath(@NonNull String path)
Copyright © 2017–2019. All rights reserved.