public enum InterestPolicyType extends Enum<InterestPolicyType>
InterestPolicy
Enum Constant and Description |
---|
ALL |
CACHE_CONTENT |
Modifier and Type | Field and Description |
---|---|
static InterestPolicyType |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.InterestPolicy |
getInterestPolicy()
Returns the GemFire InterestPolicy corresponding to this SubscriptionType enumerated value.
|
static org.apache.geode.cache.InterestPolicy |
getInterestPolicy(InterestPolicyType interestPolicyType)
Null-safe operation to extract the GemFire InterestPolicy from the InterPolicyType enumerated value.
|
static InterestPolicyType |
valueOf(org.apache.geode.cache.InterestPolicy interestPolicy)
Returns a SubscriptionType enumerated value for the given GemFire InterestPolicy.
|
static InterestPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterestPolicyType |
valueOfIgnoreCase(String value)
Returns a SubscriptionType enumerated value for the case-insensitive, named Subscription (InterestsPolicy).
|
static InterestPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterestPolicyType ALL
public static final InterestPolicyType CACHE_CONTENT
public static final InterestPolicyType DEFAULT
public static InterestPolicyType[] values()
for (InterestPolicyType c : InterestPolicyType.values()) System.out.println(c);
public static InterestPolicyType 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.InterestPolicy getInterestPolicy(InterestPolicyType interestPolicyType)
interestPolicyType
- the InterestPolicyType enum from which to extract GemFire's InterestPolicyInterestPolicy
public static InterestPolicyType valueOf(org.apache.geode.cache.InterestPolicy interestPolicy)
interestPolicy
- the GemFire InterestPolicy used to lookup and match a SubscriptionType.InterestPolicy
,
getInterestPolicy()
public static InterestPolicyType valueOfIgnoreCase(String value)
value
- a String name used to look and match the SubscriptionType.String.equalsIgnoreCase(String)
,
Enum.name()
public org.apache.geode.cache.InterestPolicy getInterestPolicy()
InterestPolicy
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.