public class ResumptionAction extends Object implements Serializable
ResumptionAction
is specified when configuring a region's
MembershipAttributes
.Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ResumptionAction NONE
public static final ResumptionAction REINITIALIZE
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
.public final byte ordinal
public static final List VALUES
public static ResumptionAction fromOrdinal(byte ordinal)
public static ResumptionAction fromName(String name)
public boolean isNone()
NONE
.public boolean isReinitialize()
REINITIALIZE
.Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.