GemFire 6.5.1.2

com.gemstone.gemfire.cache
Class ResumptionAction

java.lang.Object
  extended by com.gemstone.gemfire.cache.ResumptionAction
All Implemented Interfaces:
Serializable

public class ResumptionAction
extends Object
implements Serializable

Specifies how the region is affected by resumption of reliability when one or more missing required roles return to the distributed membership. The ResumptionAction is specified when configuring a region's MembershipAttributes.

Since:
5.0
See Also:
Serialized Form

Field Summary
static ResumptionAction NONE
          No special action takes place when reliability resumes.
 byte ordinal
          byte used as ordinal to represent this Scope
static ResumptionAction REINITIALIZE
          Resumption of reliability causes the region to be cleared of all data and replicated regions will do a new getInitialImage operation to repopulate the region.
static List VALUES
          List of all ResumptionAction values
 
Method Summary
static ResumptionAction fromName(String name)
          Return the ResumptionAction specified by name
static ResumptionAction fromOrdinal(byte ordinal)
          Return the ResumptionAction represented by specified ordinal
 boolean isNone()
          Returns true if this is NONE.
 boolean isReinitialize()
          Returns true if this is REINITIALIZE.
 String toString()
          Returns a string representation for this resumption action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ResumptionAction NONE
No special action takes place when reliability resumes.


REINITIALIZE

public static final ResumptionAction REINITIALIZE
Resumption of reliability causes the region to be cleared of all data and replicated regions will do a new getInitialImage operation to repopulate the region. Any existing references to this region become unusable in that any subsequent methods invoked on those references will throw a RegionReinitializedException.


ordinal

public final byte ordinal
byte used as ordinal to represent this Scope


VALUES

public static final List VALUES
List of all ResumptionAction values

Method Detail

fromOrdinal

public static ResumptionAction fromOrdinal(byte ordinal)
Return the ResumptionAction represented by specified ordinal


fromName

public static ResumptionAction fromName(String name)
Return the ResumptionAction specified by name


isNone

public boolean isNone()
Returns true if this is NONE.


isReinitialize

public boolean isReinitialize()
Returns true if this is REINITIALIZE.


toString

public String toString()
Returns a string representation for this resumption action.

Overrides:
toString in class Object
Returns:
the name of this resumption action

GemFire 6.5.1.2

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