Package org.axonframework.eventhandling
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
Enum representing the possible states of the Processor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates the processor has not been started yet.Indicates that the processor has been paused.Indicates that the processor has been paused due to an error that it was unable to recover from.Indicates that the processor has been shut down.Indicates that the processor has started and is (getting ready to) processing events -
Method Summary
Modifier and TypeMethodDescriptionstatic TrackingEventProcessor.StateReturns the enum constant of this class with the specified name.static TrackingEventProcessor.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_STARTED
Indicates the processor has not been started yet. -
STARTED
Indicates that the processor has started and is (getting ready to) processing events -
PAUSED
Indicates that the processor has been paused. It can be restarted to continue processing. -
SHUT_DOWN
Indicates that the processor has been shut down. It can be restarted to continue processing. -
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
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
-