public enum DseSessionMetric extends Enum<DseSessionMetric> implements SessionMetric
reference.conf
for a description of each metric.Enum Constant and Description |
---|
CONTINUOUS_CQL_REQUESTS |
GRAPH_CLIENT_TIMEOUTS |
GRAPH_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 final DseSessionMetric GRAPH_REQUESTS
public static final DseSessionMetric GRAPH_CLIENT_TIMEOUTS
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–2020. All rights reserved.