public static enum Gateway.OrderPolicy extends Enum<Gateway.OrderPolicy>
| Enum Constant and Description | 
|---|
| KEYIndicates that events will be parallelized based on the event's key | 
| PARTITIONIndicates 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 | 
| THREADIndicates 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