public static enum Gateway.OrderPolicy extends Enum<Gateway.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 Gateway.OrderPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gateway.OrderPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gateway.OrderPolicy THREAD
public static final Gateway.OrderPolicy KEY
public static final Gateway.OrderPolicy PARTITION
public static Gateway.OrderPolicy[] values()
for (Gateway.OrderPolicy c : Gateway.OrderPolicy.values()) System.out.println(c);
public static Gateway.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