public enum ConsistencyLevel extends Enum<ConsistencyLevel>
| Enum Constant and Description | 
|---|
GUARANTEED_DELIVERY
The event is guaranteed to arrive. 
 | 
IMMEDIATE
Deprecated.  
 | 
ONE_AND_ONLY_ONE
The event will arrive once and only once. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ConsistencyLevel | 
fromString(String s)  | 
boolean | 
isHigher(ConsistencyLevel level)  | 
static ConsistencyLevel | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ConsistencyLevel[] | 
values()
Returns an array containing the constants of this enum type, in the order they are declared. 
 | 
public static final ConsistencyLevel ONE_AND_ONLY_ONE
public static final ConsistencyLevel GUARANTEED_DELIVERY
@Deprecated public static final ConsistencyLevel IMMEDIATE
public static ConsistencyLevel[] values()
for (ConsistencyLevel c : ConsistencyLevel.values())
    System.out.println(c);
public static ConsistencyLevel 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 nullpublic boolean isHigher(ConsistencyLevel level)
public static ConsistencyLevel fromString(String s)