public enum OrderPolicyType extends Enum<OrderPolicyType>
GatewaySender.OrderPolicy
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.wan.GatewaySender.OrderPolicy |
getOrderPolicy()
Gets the GemFire Gateway.OrderPolicy corresponding to this OrderPolicyType enum.
|
static org.apache.geode.cache.wan.GatewaySender.OrderPolicy |
getOrderPolicy(OrderPolicyType orderPolicyType)
Null-safe operation to extract the matching GemFire Gateway.OrderPolicy enumerated value from
the specified OrderPolicyType.
|
static OrderPolicyType |
valueOf(org.apache.geode.cache.wan.GatewaySender.OrderPolicy orderPolicy)
Returns the matching OrderPolicyType given a GemFire Gateway.OrderPolicy enumerated value.
|
static OrderPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderPolicyType |
valueOfIgnoreCase(String name)
Returns a matching OrderPolicyType given the case-insensitive, name of the GemFire Gateway OrderPolicy.
|
static OrderPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderPolicyType KEY
public static final OrderPolicyType PARTITION
public static final OrderPolicyType THREAD
public static OrderPolicyType[] values()
for (OrderPolicyType c : OrderPolicyType.values()) System.out.println(c);
public static OrderPolicyType 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 nullpublic static org.apache.geode.cache.wan.GatewaySender.OrderPolicy getOrderPolicy(OrderPolicyType orderPolicyType)
orderPolicyType
- the OrderPolicyType enum from which to extract the GemFire-based
Gateway.OrderPolicy enumerated value.GatewaySender.OrderPolicy
,
getOrderPolicy()
public static OrderPolicyType valueOf(org.apache.geode.cache.wan.GatewaySender.OrderPolicy orderPolicy)
orderPolicy
- the GemFire Gateway.OrderPolicy enumerated value used to match
the desired OrderPolicyType.GatewaySender.OrderPolicy
,
getOrderPolicy()
public static OrderPolicyType valueOfIgnoreCase(String name)
name
- a String name used to match the desired OrderPolicyType.String.equalsIgnoreCase(String)
,
Enum.name()
public org.apache.geode.cache.wan.GatewaySender.OrderPolicy getOrderPolicy()
GatewaySender.OrderPolicy
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.