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