Package org.eclipse.jetty.util
Enum Class IteratingCallback.Action
- All Implemented Interfaces:
Serializable
,Comparable<IteratingCallback.Action>
,Constable
- Enclosing class:
- IteratingCallback
The indication of the overall progress of the iteration
that implementations of
IteratingCallback.process()
must return.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates thatIteratingCallback.process()
has no more work to do, but the iteration is not completed yet, probably waiting for additional events to trigger more work.Indicates thatIteratingCallback.process()
has initiated an asynchronous sub-task, where the execution has started but the callback that signals the completion of the asynchronous sub-task may have not yet been invoked.Indicates thatIteratingCallback.process()
has completed the whole iteration successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic IteratingCallback.Action
Returns the enum constant of this class with the specified name.static IteratingCallback.Action[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDLE
Indicates thatIteratingCallback.process()
has no more work to do, but the iteration is not completed yet, probably waiting for additional events to trigger more work. -
SCHEDULED
Indicates thatIteratingCallback.process()
has initiated an asynchronous sub-task, where the execution has started but the callback that signals the completion of the asynchronous sub-task may have not yet been invoked. -
SUCCEEDED
Indicates thatIteratingCallback.process()
has completed the whole iteration successfully.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-