public enum SubscriptionEvictionPolicy extends Enum<SubscriptionEvictionPolicy>
CacheServer
.Modifier and Type | Method and Description |
---|---|
static SubscriptionEvictionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionEvictionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionEvictionPolicy NONE
public static final SubscriptionEvictionPolicy MEM
public static final SubscriptionEvictionPolicy ENTRY
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 null