Enum Class StandbyUpdateListener.SuspendReason

java.lang.Object
java.lang.Enum<StandbyUpdateListener.SuspendReason>
org.apache.kafka.streams.processor.StandbyUpdateListener.SuspendReason
All Implemented Interfaces:
Serializable, Comparable<StandbyUpdateListener.SuspendReason>, Constable
Enclosing interface:
StandbyUpdateListener

public static enum StandbyUpdateListener.SuspendReason extends Enum<StandbyUpdateListener.SuspendReason>
The reason why a standby or warm-up task stopped being updated.
  • Enum Constant Details

    • MIGRATED

      public static final StandbyUpdateListener.SuspendReason MIGRATED
      The task stopped being updated as a standby or warm-up task, and its state store was closed. This covers every reason other than a promotion: the task was revoked, or it was assigned to another instance, or this instance is shutting down.
  • Method Details

    • values

      public static StandbyUpdateListener.SuspendReason[] 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 StandbyUpdateListener.SuspendReason 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