GemFire 5.7.1

com.gemstone.gemfire.cache
Class EvictionAction

java.lang.Object
  extended by javax.print.attribute.EnumSyntax
      extended by com.gemstone.gemfire.cache.EvictionAction
All Implemented Interfaces:
Serializable, Cloneable

public final class EvictionAction
extends EnumSyntax

The action that an EvictionAlgorithm takes.

Since:
5.0
See Also:
EvictionAlgorithm, EvictionAttributesImpl, Serialized Form

Field Summary
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.
 
Method Summary
 boolean isLocalDestroy()
           
 boolean isNone()
           
 boolean isOverflowToDisk()
           
static EvictionAction parseAction(String s)
           
 
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

NONE

public static final EvictionAction NONE
Canonical EvictionAction that represents no eviction


LOCAL_DESTROY

public static final EvictionAction LOCAL_DESTROY
Perform a localDestory on the least recently used region entry.


OVERFLOW_TO_DISK

public static final 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. Note that this action is only avaiable when the region has been configured to access data on disk.


DEFAULT_EVICTION_ACTION

public static final EvictionAction DEFAULT_EVICTION_ACTION
The default eviction action is to locally destroy an Entry.

Method Detail

isLocalDestroy

public final boolean isLocalDestroy()

isOverflowToDisk

public final boolean isOverflowToDisk()

isNone

public final boolean isNone()

parseAction

public static EvictionAction parseAction(String s)
Parameters:
s -
Returns:
the action parsed from the provided string. If there are problems with parsing NONE is returned.

GemFire 5.7.1

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.