public static enum CommandProcessorMetrics.UnsuccessfulReason extends Enum<CommandProcessorMetrics.UnsuccessfulReason>
| Enum Constant and Description |
|---|
DROPPED
the server is currently under high load and dropped the command
|
FAILED
the command encountered an error that caused it to fail
|
NOT_PROCESSED
the server is in maintenance mode and not currently accepting any commands
|
| Modifier and Type | Method and Description |
|---|---|
static CommandProcessorMetrics.UnsuccessfulReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandProcessorMetrics.UnsuccessfulReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandProcessorMetrics.UnsuccessfulReason FAILED
public static final CommandProcessorMetrics.UnsuccessfulReason DROPPED
public static final CommandProcessorMetrics.UnsuccessfulReason NOT_PROCESSED
public static CommandProcessorMetrics.UnsuccessfulReason[] values()
for (CommandProcessorMetrics.UnsuccessfulReason c : CommandProcessorMetrics.UnsuccessfulReason.values()) System.out.println(c);
public static CommandProcessorMetrics.UnsuccessfulReason 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 nullCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.