protected static enum TrackingEventProcessor.State extends Enum<TrackingEventProcessor.State>
Enum Constant and Description |
---|
NOT_STARTED
Indicates the processor has not been started yet.
|
PAUSED
Indicates that the processor has been paused.
|
PAUSED_ERROR
Indicates that the processor has been paused due to an error that it was unable to recover from.
|
SHUT_DOWN
Indicates that the processor has been shut down.
|
STARTED
Indicates that the processor has started and is (getting ready to) processing events
|
Modifier and Type | Method and Description |
---|---|
static TrackingEventProcessor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackingEventProcessor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackingEventProcessor.State NOT_STARTED
public static final TrackingEventProcessor.State STARTED
public static final TrackingEventProcessor.State PAUSED
public static final TrackingEventProcessor.State SHUT_DOWN
public static final TrackingEventProcessor.State PAUSED_ERROR
public static TrackingEventProcessor.State[] values()
for (TrackingEventProcessor.State c : TrackingEventProcessor.State.values()) System.out.println(c);
public static TrackingEventProcessor.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2020. All rights reserved.