private static enum IteratingCallback.State extends java.lang.Enum<IteratingCallback.State>
Enum Constant and Description |
---|
CALLED
Called by a schedule callback
|
CLOSED
This callback has been closed and cannot be reset.
|
FAILED
The overall job has failed as indicated by a call to
IteratingCallback.failed(Throwable) |
IDLE
This callback is IDLE, ready to iterate.
|
PENDING
Waiting for a schedule callback
|
PROCESSING
This callback is iterating calls to
IteratingCallback.process() and is dealing with
the returns. |
SUCCEEDED
The overall job has succeeded as indicated by a
IteratingCallback.Action.SUCCEEDED return
from IteratingCallback.process() |
Modifier and Type | Method and Description |
---|---|
static IteratingCallback.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IteratingCallback.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IteratingCallback.State IDLE
public static final IteratingCallback.State PROCESSING
IteratingCallback.process()
and is dealing with
the returns. To get into processing state, it much of held the lock state
and set iterating to true.public static final IteratingCallback.State PENDING
public static final IteratingCallback.State CALLED
public static final IteratingCallback.State SUCCEEDED
IteratingCallback.Action.SUCCEEDED
return
from IteratingCallback.process()
public static final IteratingCallback.State FAILED
IteratingCallback.failed(Throwable)
public static final IteratingCallback.State CLOSED
public static IteratingCallback.State[] values()
for (IteratingCallback.State c : IteratingCallback.State.values()) System.out.println(c);
public static IteratingCallback.State 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