public enum EvictionActionType extends Enum<EvictionActionType>
EvictionAction
Enum Constant and Description |
---|
LOCAL_DESTROY |
NONE |
OVERFLOW_TO_DISK |
Modifier and Type | Field and Description |
---|---|
static EvictionActionType |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.EvictionAction |
getEvictionAction()
Gets the matching Pivotal GemFire EvictionAction represented by this enumerated value.
|
static org.apache.geode.cache.EvictionAction |
getEvictionAction(EvictionActionType evictionActionType)
A null-safe operation to extract the Pivotal GemFire EvictionAction from the EvictionActionType enumerated value.
|
static EvictionActionType |
valueOf(org.apache.geode.cache.EvictionAction evictionAction)
Returns an EvictionActionType enumerated value matching the given Pivotal GemFire EvictionAction.
|
static EvictionActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionActionType |
valueOfIgnoreCase(String name)
Returns an EvictionActionType enumerated value given the named, case-insensitive eviction action.
|
static EvictionActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvictionActionType LOCAL_DESTROY
public static final EvictionActionType NONE
public static final EvictionActionType OVERFLOW_TO_DISK
public static final EvictionActionType DEFAULT
public static EvictionActionType[] values()
for (EvictionActionType c : EvictionActionType.values()) System.out.println(c);
public static EvictionActionType 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.EvictionAction getEvictionAction(EvictionActionType evictionActionType)
evictionActionType
- the EvictionActionType enumerated value from which to extract
the matching Pivotal GemFire EvictionAction value.getEvictionAction()
public static EvictionActionType valueOf(org.apache.geode.cache.EvictionAction evictionAction)
evictionAction
- the Pivotal GemFire EvictionAction used to lookup and match the appropriate EvictionActionType.EvictionAction
,
getEvictionAction()
public static EvictionActionType valueOfIgnoreCase(String name)
name
- a String value indicating the name the eviction action used to match EvictionActionType.String.equalsIgnoreCase(String)
,
Enum.name()
public org.apache.geode.cache.EvictionAction getEvictionAction()
EvictionAction
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.