Enum CassandraClientPoolHostLevelMetric
- java.lang.Object
-
- java.lang.Enum<CassandraClientPoolHostLevelMetric>
-
- com.palantir.atlasdb.keyvalue.cassandra.pool.CassandraClientPoolHostLevelMetric
-
- All Implemented Interfaces:
Serializable
,Comparable<CassandraClientPoolHostLevelMetric>
public enum CassandraClientPoolHostLevelMetric extends Enum<CassandraClientPoolHostLevelMetric>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATED
DESTROYED
DESTROYED_BY_EVICTOR
MEAN_ACTIVE_TIME_MILLIS
NUM_ACTIVE
NUM_IDLE
-
Field Summary
Fields Modifier and Type Field Description double
maximumMeanThreshold
String
metricName
double
minimumMeanThreshold
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CassandraClientPoolHostLevelMetric
valueOf(String name)
Returns the enum constant of this type with the specified name.static CassandraClientPoolHostLevelMetric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEAN_ACTIVE_TIME_MILLIS
public static final CassandraClientPoolHostLevelMetric MEAN_ACTIVE_TIME_MILLIS
-
NUM_IDLE
public static final CassandraClientPoolHostLevelMetric NUM_IDLE
-
NUM_ACTIVE
public static final CassandraClientPoolHostLevelMetric NUM_ACTIVE
-
CREATED
public static final CassandraClientPoolHostLevelMetric CREATED
-
DESTROYED_BY_EVICTOR
public static final CassandraClientPoolHostLevelMetric DESTROYED_BY_EVICTOR
-
DESTROYED
public static final CassandraClientPoolHostLevelMetric DESTROYED
-
-
Field Detail
-
metricName
public final String metricName
-
minimumMeanThreshold
public final double minimumMeanThreshold
-
maximumMeanThreshold
public final double maximumMeanThreshold
-
-
Method Detail
-
values
public static CassandraClientPoolHostLevelMetric[] 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 (CassandraClientPoolHostLevelMetric c : CassandraClientPoolHostLevelMetric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CassandraClientPoolHostLevelMetric 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
-
-