public static enum IAsyncHandlerProvider.CycleResult extends Enum<IAsyncHandlerProvider.CycleResult>
Enum Constant and Description |
---|
CONTINUE
Cycle is busy, immedetialy continue with a following execution
|
IDLE_CONTINUE
Cycle is idle, wait for idle delay timeout until next execution
|
SUSPEND
Suspend the async handler life cycle until a following
IAsyncHandler.wakeUp() ,
IAsyncHandler.wakeUpAndWait(long, java.util.concurrent.TimeUnit) , IAsyncHandler.resume()() or IAsyncHandler#stop(long,
java.util.concurrent.TimeUnit)) operation is called |
TERMINATE
Terminate the execution life cycle of the runnable
|
Modifier and Type | Method and Description |
---|---|
static IAsyncHandlerProvider.CycleResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IAsyncHandlerProvider.CycleResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IAsyncHandlerProvider.CycleResult IDLE_CONTINUE
public static final IAsyncHandlerProvider.CycleResult CONTINUE
public static final IAsyncHandlerProvider.CycleResult TERMINATE
public static final IAsyncHandlerProvider.CycleResult SUSPEND
IAsyncHandler.wakeUp()
,
IAsyncHandler.wakeUpAndWait(long, java.util.concurrent.TimeUnit)
, IAsyncHandler.resume()()
or IAsyncHandler#stop(long,
java.util.concurrent.TimeUnit))
operation is calledpublic static IAsyncHandlerProvider.CycleResult[] values()
for (IAsyncHandlerProvider.CycleResult c : IAsyncHandlerProvider.CycleResult.values()) System.out.println(c);
public static IAsyncHandlerProvider.CycleResult 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 © GigaSpaces.