Package com.linkedin.venice.router.stats
Enum RouterMetricEntity
- java.lang.Object
-
- java.lang.Enum<RouterMetricEntity>
-
- com.linkedin.venice.router.stats.RouterMetricEntity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RouterMetricEntity>
public enum RouterMetricEntity extends java.lang.Enum<RouterMetricEntity>
List all Metric entities for router
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED_RETRY_COUNT
ALLOWED_RETRY_COUNT
CALL_COUNT
CALL_KEY_COUNT
CALL_TIME
DISALLOWED_RETRY_COUNT
INCOMING_CALL_COUNT
RETRY_COUNT
RETRY_DELAY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricEntity
getMetricEntity()
static RouterMetricEntity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RouterMetricEntity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCOMING_CALL_COUNT
public static final RouterMetricEntity INCOMING_CALL_COUNT
-
CALL_COUNT
public static final RouterMetricEntity CALL_COUNT
-
CALL_TIME
public static final RouterMetricEntity CALL_TIME
-
CALL_KEY_COUNT
public static final RouterMetricEntity CALL_KEY_COUNT
-
RETRY_COUNT
public static final RouterMetricEntity RETRY_COUNT
-
ALLOWED_RETRY_COUNT
public static final RouterMetricEntity ALLOWED_RETRY_COUNT
-
DISALLOWED_RETRY_COUNT
public static final RouterMetricEntity DISALLOWED_RETRY_COUNT
-
RETRY_DELAY
public static final RouterMetricEntity RETRY_DELAY
-
ABORTED_RETRY_COUNT
public static final RouterMetricEntity ABORTED_RETRY_COUNT
-
-
Method Detail
-
values
public static RouterMetricEntity[] 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 (RouterMetricEntity c : RouterMetricEntity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RouterMetricEntity valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMetricEntity
public MetricEntity getMetricEntity()
-
-