public enum EventStatus extends Enum<EventStatus>
EventData
,
EventData.getStatus()
Enum Constant and Description |
---|
FAILED_TO_NOTIFY
Status when an event could not be notified to one or more subscribers even
after maximum number of retries.
|
FAILED_TO_QUEUE
Status when an event could not be queued due to queue being full.
|
NONE
The default status of an event when created but not yet notified.
|
PROCESSED
Status when an event has been processed.
|
PROCESSING
Status when an event has been picked up for processing but not done yet.
|
WAITING
Status when an event has been notified and is waiting for processing.
|
Modifier and Type | Method and Description |
---|---|
static EventStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventStatus NONE
public static final EventStatus WAITING
public static final EventStatus PROCESSING
public static final EventStatus PROCESSED
public static final EventStatus FAILED_TO_NOTIFY
public static final EventStatus FAILED_TO_QUEUE
public static EventStatus[] values()
for (EventStatus c : EventStatus.values()) System.out.println(c);
public static EventStatus 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 © 2019. All rights reserved.