public enum SubscriptionEvictionPolicy extends Enum<SubscriptionEvictionPolicy>
CacheServer
.Modifier and Type | Field and Description |
---|---|
static SubscriptionEvictionPolicy |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.server.ClientSubscriptionConfig |
setEvictionPolicy(org.apache.geode.cache.server.ClientSubscriptionConfig config)
Null-safe utility method for setting the client's subscription eviction policy on the configuration meta-data.
|
static SubscriptionEvictionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionEvictionPolicy |
valueOfIgnoreCase(String name)
Returns the value of the given String name as a SubscriptionEvictionPolicy enum using a case-insensitive,
equality comparison.
|
static SubscriptionEvictionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionEvictionPolicy ENTRY
public static final SubscriptionEvictionPolicy MEM
public static final SubscriptionEvictionPolicy NONE
public static final SubscriptionEvictionPolicy DEFAULT
public static SubscriptionEvictionPolicy[] values()
for (SubscriptionEvictionPolicy c : SubscriptionEvictionPolicy.values()) System.out.println(c);
public static SubscriptionEvictionPolicy 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 SubscriptionEvictionPolicy valueOfIgnoreCase(String name)
name
- the String name of a SubscriptionEvictionPolicy enumerated value.SubscriptionEvictionPolicy
,
String.equalsIgnoreCase(String)
,
values()
,
Enum.name()
public org.apache.geode.cache.server.ClientSubscriptionConfig setEvictionPolicy(org.apache.geode.cache.server.ClientSubscriptionConfig config)
config
- a Pivotal GemFire ClientSubscriptionConfig object holding the configuration setting and meta-data
about the client's subscription configuration.ClientSubscriptionConfig.setEvictionPolicy(String)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.