Enum Class JobPhase
- All Implemented Interfaces:
Serializable,Comparable<JobPhase>,Constable
Master-side coordination phases recorded (when enabled) to
BATCH_JOB_PHASE_EVENTS.
The gaps between consecutive phases give the framework-specific timings that Spring Batch's own
tables do not capture: RECEIVED→PARTITIONED = partitioning time,
PARTITIONED→DISTRIBUTED = time to persist the partitions, and
DISTRIBUTED→COMPLETION_DETECTED = distributed execution + completion detection.
The name() of each value is the exact string persisted.
- Author:
- Janardhan Chejarla
-
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
-
RECEIVED
-
PARTITIONED
-
DISTRIBUTED
-
COMPLETION_DETECTED
-
-
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
-