public static enum GatewaySender.OrderPolicy extends Enum<GatewaySender.OrderPolicy>
Enum Constant and Description |
---|
KEY
Indicates that events will be parallelized based on the event's key
|
PARTITION
Indicates that events will be parallelized based on the event's: - partition (using the
PartitionResolver) in the case of a partitioned region event - key in the case of a
replicated region event
|
THREAD
Indicates that events will be parallelized based on the event's originating member and thread
|
Modifier and Type | Method and Description |
---|---|
static GatewaySender.OrderPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GatewaySender.OrderPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GatewaySender.OrderPolicy THREAD
public static final GatewaySender.OrderPolicy KEY
public static final GatewaySender.OrderPolicy PARTITION
public static GatewaySender.OrderPolicy[] values()
for (GatewaySender.OrderPolicy c : GatewaySender.OrderPolicy.values()) System.out.println(c);
public static GatewaySender.OrderPolicy 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 null