public enum OrderingStrategy extends java.lang.Enum<OrderingStrategy>
| Enum Constant and Description |
|---|
KEEPING_ORDER
The KEEPING_ORDER strategy only allows one message batch to be sent to the server at the same
time, preventing messages from overtaking each other.
|
LOSING_ORDER
The LOSING_ORDER strategy allows multiple message batches to be sent to the server in
parallel, causing them to overtake each other.
|
| Modifier and Type | Method and Description |
|---|---|
static OrderingStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderingStrategy LOSING_ORDER
public static final OrderingStrategy KEEPING_ORDER
public static OrderingStrategy[] values()
for (OrderingStrategy c : OrderingStrategy.values()) System.out.println(c);
public static OrderingStrategy 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 nullCopyright © 2020–2021 Axual B.V.. All rights reserved.