|
GemFire 6.6.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.EnumSyntax
com.gemstone.gemfire.cache.EvictionAlgorithm
public final class EvictionAlgorithm
The algorithm used to determine when to perform an EvictionAction
EvictionAction
,
EvictionAttributesImpl
,
Serialized FormField Summary | |
---|---|
static EvictionAlgorithm |
LIFO_ENTRY
Deprecated. |
static EvictionAlgorithm |
LIFO_MEMORY
Deprecated. |
static EvictionAlgorithm |
LRU_ENTRY
An algorithm that considers the number of Entries in the Region before invoking its EvictionAction |
static EvictionAlgorithm |
LRU_HEAP
An algorithm that considers the JVM heap size before invoking its EvictionAction |
static EvictionAlgorithm |
LRU_MEMORY
An algorithm that considers the amount of bytes consumed by the Region before invoking its EvictionAction |
static EvictionAlgorithm |
NONE
The canonical EvictionAction that represents no eviction action |
Method Summary | |
---|---|
boolean |
isLIFO()
Deprecated. |
boolean |
isLRU()
returns true if this object uses a least-recently-used algorithm |
boolean |
isLRUEntry()
|
boolean |
isLRUHeap()
|
boolean |
isLRUMemory()
|
boolean |
isNone()
|
static EvictionAlgorithm |
parseAction(String s)
|
static EvictionAlgorithm |
parseValue(int v)
Returns the eviction action the corresponds to the given parameter. |
Methods inherited from class javax.print.attribute.EnumSyntax |
---|
clone, getValue, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final EvictionAlgorithm NONE
public static final EvictionAlgorithm LRU_ENTRY
EvictionAction
public static final EvictionAlgorithm LRU_HEAP
EvictionAction
public static final EvictionAlgorithm LRU_MEMORY
EvictionAction
public static final EvictionAlgorithm LIFO_ENTRY
EvictionAction
public static final EvictionAlgorithm LIFO_MEMORY
EvictionAction
Method Detail |
---|
public static EvictionAlgorithm parseValue(int v)
null
if no action corresponds.
public static EvictionAlgorithm parseAction(String s)
public final boolean isLRUEntry()
public final boolean isLRUMemory()
public final boolean isLRUHeap()
public boolean isLRU()
public final boolean isNone()
public boolean isLIFO()
|
GemFire 6.6.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |