public static enum InvocationConfiguration.TimeoutActionType extends Enum<InvocationConfiguration.TimeoutActionType>
| Enum Constant and Description |
|---|
ABORT
Abort invocation.
If no result is available after the specified timeout, the invocation will be aborted and the method will immediately exit. |
EXIT
Break execution.
If no result is available after the specified timeout, the called method will stop its execution and exit immediately. |
THROW
Throw.
If no result is available after the specified timeout, the called method will throw an ExecutionTimeoutException. |
| Modifier and Type | Method and Description |
|---|---|
static InvocationConfiguration.TimeoutActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvocationConfiguration.TimeoutActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvocationConfiguration.TimeoutActionType THROW
ExecutionTimeoutException.public static final InvocationConfiguration.TimeoutActionType EXIT
public static final InvocationConfiguration.TimeoutActionType ABORT
public static InvocationConfiguration.TimeoutActionType[] values()
for (InvocationConfiguration.TimeoutActionType c : InvocationConfiguration.TimeoutActionType.values()) System.out.println(c);
public static InvocationConfiguration.TimeoutActionType 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