public final class EvictionAction
extends javax.print.attribute.EnumSyntax
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.
|
public static final EvictionAction NONE
public static final EvictionAction LOCAL_DESTROY
localDestory
on the least
recently used region entry.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.public static final EvictionAction DEFAULT_EVICTION_ACTION
protected final java.lang.String[] getStringTable()
getStringTable
in class javax.print.attribute.EnumSyntax
protected final javax.print.attribute.EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class javax.print.attribute.EnumSyntax
public final boolean isLocalDestroy()
public final boolean isOverflowToDisk()
public final boolean isNone()
public static EvictionAction parseValue(int v)
null
if no action corresponds.public static EvictionAction parseAction(java.lang.String s)
s
-