Enum Class TrackingEventProcessor.State

java.lang.Object
java.lang.Enum<TrackingEventProcessor.State>
org.axonframework.eventhandling.TrackingEventProcessor.State
All Implemented Interfaces:
Serializable, Comparable<TrackingEventProcessor.State>, Constable
Enclosing class:
TrackingEventProcessor

protected static enum TrackingEventProcessor.State extends Enum<TrackingEventProcessor.State>
Enum representing the possible states of the Processor
  • Enum Constant Details

    • NOT_STARTED

      public static final TrackingEventProcessor.State NOT_STARTED
      Indicates the processor has not been started yet.
    • STARTED

      public static final TrackingEventProcessor.State STARTED
      Indicates that the processor has started and is (getting ready to) processing events
    • PAUSED

      public static final TrackingEventProcessor.State PAUSED
      Indicates that the processor has been paused. It can be restarted to continue processing.
    • SHUT_DOWN

      public static final TrackingEventProcessor.State SHUT_DOWN
      Indicates that the processor has been shut down. It can be restarted to continue processing.
    • PAUSED_ERROR

      public static final TrackingEventProcessor.State PAUSED_ERROR
      Indicates that the processor has been paused due to an error that it was unable to recover from. Restarting is possible once the error has been resolved.
  • Method Details

    • values

      public static TrackingEventProcessor.State[] 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 TrackingEventProcessor.State 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