Package org.opennms.core.ipc.sink.api
Enum AsyncDispatcher.DispatchStatus
- java.lang.Object
-
- java.lang.Enum<AsyncDispatcher.DispatchStatus>
-
- org.opennms.core.ipc.sink.api.AsyncDispatcher.DispatchStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AsyncDispatcher.DispatchStatus>
- Enclosing interface:
- AsyncDispatcher<S extends Message>
public static enum AsyncDispatcher.DispatchStatus extends Enum<AsyncDispatcher.DispatchStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPATCHED
The message was actually dispatched.QUEUED
The message has been queued to be dispatched later.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncDispatcher.DispatchStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AsyncDispatcher.DispatchStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISPATCHED
public static final AsyncDispatcher.DispatchStatus DISPATCHED
The message was actually dispatched.
-
QUEUED
public static final AsyncDispatcher.DispatchStatus QUEUED
The message has been queued to be dispatched later.
-
-
Method Detail
-
values
public static AsyncDispatcher.DispatchStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AsyncDispatcher.DispatchStatus c : AsyncDispatcher.DispatchStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsyncDispatcher.DispatchStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-