public static enum ServerMetricsCollector.RequestErrorType extends Enum<ServerMetricsCollector.RequestErrorType>
Enum Constant and Description |
---|
INVALID_REQUEST |
MAX_CHECK_TIME |
MAX_TEXT_SIZE |
QUEUE_FULL |
TOO_MANY_ERRORS |
Modifier and Type | Method and Description |
---|---|
static ServerMetricsCollector.RequestErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerMetricsCollector.RequestErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerMetricsCollector.RequestErrorType QUEUE_FULL
public static final ServerMetricsCollector.RequestErrorType TOO_MANY_ERRORS
public static final ServerMetricsCollector.RequestErrorType MAX_CHECK_TIME
public static final ServerMetricsCollector.RequestErrorType MAX_TEXT_SIZE
public static final ServerMetricsCollector.RequestErrorType INVALID_REQUEST
public static ServerMetricsCollector.RequestErrorType[] values()
for (ServerMetricsCollector.RequestErrorType c : ServerMetricsCollector.RequestErrorType.values()) System.out.println(c);
public static ServerMetricsCollector.RequestErrorType 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