public enum EventOrdering extends java.lang.Enum<EventOrdering>
| Enum Constant and Description | 
|---|
| ORDEREDOrdering of events is guaranteed on a per-key basis. | 
| UNORDEREDEvents may be observed out of order. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isOrdered()Indicates if the mode obeys ordering. | 
| static EventOrdering | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static EventOrdering[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final EventOrdering UNORDERED
public static final EventOrdering ORDERED
public static EventOrdering[] values()
for (EventOrdering c : EventOrdering.values()) System.out.println(c);
public static EventOrdering valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isOrdered()
true in case it does, false otherwise