public static enum RequestConcurrencyController.Result extends 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(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(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