Enum Class State
- All Implemented Interfaces:
Serializable,Comparable<State>,Constable
The run state of the controller.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
unused
-
running
-
paused
When paused, the system will stop submitting work to the processing pool. Polling for new work however may continue until internal buffers have been filled sufficiently and the auto-throttling takes effect. In flight work will not be affected by transitioning to this state (i.e. processing will finish without any interrupts being sent). -
draining
When draining, the system will stop polling for more records, but will attempt to process all already downloaded records. Note that if you choose to close without draining, records already processed will still be committed first before closing. -
closing
-
closed
-
-
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
-