@Immutable
public final class EvictionAction
extends javax.print.attribute.EnumSyntax
implements java.io.Serializable
EvictionAlgorithm
takes.EvictionAlgorithm
,
EvictionAttributesImpl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static EvictionAction |
DEFAULT_EVICTION_ACTION
The default eviction action is to locally destroy an Entry.
|
static EvictionAction |
LOCAL_DESTROY
Perform a
localDestory on the least
recently used region entry. |
static EvictionAction |
NONE
Canonical EvictionAction that represents no eviction
|
static EvictionAction |
OVERFLOW_TO_DISK
Write the value of the least recently used region entry to disk and
null -out its
value in the VM to free up heap space. |
Modifier and Type | Method and Description |
---|---|
protected javax.print.attribute.EnumSyntax[] |
getEnumValueTable() |
protected java.lang.String[] |
getStringTable() |
boolean |
isLocalDestroy() |
boolean |
isNone() |
boolean |
isOverflowToDisk() |
static EvictionAction |
parseAction(java.lang.String s) |
static EvictionAction |
parseValue(int v)
Returns the eviction action the corresponds to the given parameter.
|
@Immutable public static final EvictionAction NONE
@Immutable public static final EvictionAction LOCAL_DESTROY
localDestory
on the least
recently used region entry.@Immutable public static final EvictionAction OVERFLOW_TO_DISK
null
-out its
value in the VM to free up heap space. Note that this action is only available when the region
has been configured to access data on disk.@Immutable public static final EvictionAction DEFAULT_EVICTION_ACTION
protected java.lang.String[] getStringTable()
getStringTable
in class javax.print.attribute.EnumSyntax
protected javax.print.attribute.EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class javax.print.attribute.EnumSyntax
public boolean isLocalDestroy()
public boolean isOverflowToDisk()
public boolean isNone()
public static EvictionAction parseValue(int v)
null
if no action corresponds.public static EvictionAction parseAction(java.lang.String s)