public enum RejectionReason extends java.lang.Enum<RejectionReason>
| Enum Constant and Description |
|---|
ALL_SERVICES_REJECTED |
CIRCUIT_OPEN |
MAX_CONCURRENCY_LEVEL_EXCEEDED |
QUEUE_FULL |
SERVICE_SHUTDOWN |
| Modifier and Type | Method and Description |
|---|---|
static RejectionReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RejectionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RejectionReason CIRCUIT_OPEN
public static final RejectionReason QUEUE_FULL
public static final RejectionReason MAX_CONCURRENCY_LEVEL_EXCEEDED
public static final RejectionReason ALL_SERVICES_REJECTED
public static final RejectionReason SERVICE_SHUTDOWN
public static RejectionReason[] values()
for (RejectionReason c : RejectionReason.values()) System.out.println(c);
public static RejectionReason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2014 Tim Brooks. All Rights Reserved.