public enum EventStatus extends Enum<EventStatus>
EventData, 
EventData.getStatus()| Enum Constant and Description | 
|---|
| FAILED_TO_NOTIFYStatus when an event could not be notified to one or more subscribers even
 after maximum number of retries. | 
| FAILED_TO_QUEUEStatus when an event could not be queued due to queue being full. | 
| NONEThe default status of an event when created but not yet notified. | 
| PROCESSEDStatus when an event has been processed. | 
| PROCESSINGStatus when an event has been picked up for processing but not done yet. | 
| WAITINGStatus 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.