public static enum RequestConcurrencyController.Result extends java.lang.Enum<RequestConcurrencyController.Result>
RequestConcurrencyController.tryRequest()
call.Enum Constant and Description |
---|
Accepted
Selecting the resource succeeded.
|
RejectedPermanently
Selecting the resource was denied, and will not succeed at later time.
|
RejectedTemporary
Selecting the resource was denied, but may succeed at later time.
|
Modifier and Type | Method and Description |
---|---|
static RequestConcurrencyController.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestConcurrencyController.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestConcurrencyController.Result Accepted
public static final RequestConcurrencyController.Result RejectedTemporary
public static final RequestConcurrencyController.Result RejectedPermanently
public static RequestConcurrencyController.Result[] values()
for (RequestConcurrencyController.Result c : RequestConcurrencyController.Result.values()) System.out.println(c);
public static RequestConcurrencyController.Result 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 null