Enum DefaultNodeMetric
- java.lang.Object
-
- java.lang.Enum<DefaultNodeMetric>
-
- com.datastax.oss.driver.api.core.metrics.DefaultNodeMetric
-
- All Implemented Interfaces:
NodeMetric,Serializable,Comparable<DefaultNodeMetric>
public enum DefaultNodeMetric extends Enum<DefaultNodeMetric> implements NodeMetric
Seereference.conffor a description of each metric.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultNodeMetricfromPath(String path)StringgetPath()static DefaultNodeMetricvalueOf(String name)Returns the enum constant of this type with the specified name.static DefaultNodeMetric[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN_CONNECTIONS
public static final DefaultNodeMetric OPEN_CONNECTIONS
-
AVAILABLE_STREAMS
public static final DefaultNodeMetric AVAILABLE_STREAMS
-
IN_FLIGHT
public static final DefaultNodeMetric IN_FLIGHT
-
ORPHANED_STREAMS
public static final DefaultNodeMetric ORPHANED_STREAMS
-
BYTES_SENT
public static final DefaultNodeMetric BYTES_SENT
-
BYTES_RECEIVED
public static final DefaultNodeMetric BYTES_RECEIVED
-
CQL_MESSAGES
public static final DefaultNodeMetric CQL_MESSAGES
-
UNSENT_REQUESTS
public static final DefaultNodeMetric UNSENT_REQUESTS
-
ABORTED_REQUESTS
public static final DefaultNodeMetric ABORTED_REQUESTS
-
WRITE_TIMEOUTS
public static final DefaultNodeMetric WRITE_TIMEOUTS
-
READ_TIMEOUTS
public static final DefaultNodeMetric READ_TIMEOUTS
-
UNAVAILABLES
public static final DefaultNodeMetric UNAVAILABLES
-
OTHER_ERRORS
public static final DefaultNodeMetric OTHER_ERRORS
-
RETRIES
public static final DefaultNodeMetric RETRIES
-
RETRIES_ON_ABORTED
public static final DefaultNodeMetric RETRIES_ON_ABORTED
-
RETRIES_ON_READ_TIMEOUT
public static final DefaultNodeMetric RETRIES_ON_READ_TIMEOUT
-
RETRIES_ON_WRITE_TIMEOUT
public static final DefaultNodeMetric RETRIES_ON_WRITE_TIMEOUT
-
RETRIES_ON_UNAVAILABLE
public static final DefaultNodeMetric RETRIES_ON_UNAVAILABLE
-
RETRIES_ON_OTHER_ERROR
public static final DefaultNodeMetric RETRIES_ON_OTHER_ERROR
-
IGNORES
public static final DefaultNodeMetric IGNORES
-
IGNORES_ON_ABORTED
public static final DefaultNodeMetric IGNORES_ON_ABORTED
-
IGNORES_ON_READ_TIMEOUT
public static final DefaultNodeMetric IGNORES_ON_READ_TIMEOUT
-
IGNORES_ON_WRITE_TIMEOUT
public static final DefaultNodeMetric IGNORES_ON_WRITE_TIMEOUT
-
IGNORES_ON_UNAVAILABLE
public static final DefaultNodeMetric IGNORES_ON_UNAVAILABLE
-
IGNORES_ON_OTHER_ERROR
public static final DefaultNodeMetric IGNORES_ON_OTHER_ERROR
-
SPECULATIVE_EXECUTIONS
public static final DefaultNodeMetric SPECULATIVE_EXECUTIONS
-
CONNECTION_INIT_ERRORS
public static final DefaultNodeMetric CONNECTION_INIT_ERRORS
-
AUTHENTICATION_ERRORS
public static final DefaultNodeMetric AUTHENTICATION_ERRORS
-
-
Method Detail
-
values
public static DefaultNodeMetric[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultNodeMetric c : DefaultNodeMetric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultNodeMetric valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPath
@NonNull public String getPath()
- Specified by:
getPathin interfaceNodeMetric
-
fromPath
@NonNull public static DefaultNodeMetric fromPath(@NonNull String path)
-
-