public final class EvictionAction extends 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 |
---|---|
boolean |
isLocalDestroy() |
boolean |
isNone() |
boolean |
isOverflowToDisk() |
static EvictionAction |
parseAction(String s) |
static EvictionAction |
parseValue(int v)
Returns the eviction action the corresponds to the given parameter.
|
clone, getValue, hashCode, toString
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
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(String s)
s
- Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.