java.lang.Object
java.lang.Enum<JobPhase>
io.github.jchejarla.springbatch.clustering.query.JobPhase
All Implemented Interfaces:
Serializable, Comparable<JobPhase>, Constable

public enum JobPhase extends Enum<JobPhase>
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: RECEIVEDPARTITIONED = partitioning time, PARTITIONEDDISTRIBUTED = time to persist the partitions, and DISTRIBUTEDCOMPLETION_DETECTED = distributed execution + completion detection. The name() of each value is the exact string persisted.

Author:
Janardhan Chejarla
  • Enum Constant Details

    • RECEIVED

      public static final JobPhase RECEIVED
    • PARTITIONED

      public static final JobPhase PARTITIONED
    • DISTRIBUTED

      public static final JobPhase DISTRIBUTED
    • COMPLETION_DETECTED

      public static final JobPhase COMPLETION_DETECTED
  • Method Details

    • values

      public static JobPhase[] 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

      public static JobPhase valueOf(String name)
      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 name
      NullPointerException - if the argument is null