@Deprecated @Immutable 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
Deprecated.
No special action takes place when reliability resumes.
|
byte |
ordinal
Deprecated.
byte used as ordinal to represent this Scope
|
static ResumptionAction |
REINITIALIZE
Deprecated.
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
Deprecated.
List of all ResumptionAction values
|
Modifier and Type | Method and Description |
---|---|
static ResumptionAction |
fromName(String name)
Deprecated.
Return the ResumptionAction specified by name
|
static ResumptionAction |
fromOrdinal(byte ordinal)
Deprecated.
Return the ResumptionAction represented by specified ordinal
|
boolean |
isNone()
Deprecated.
Returns true if this is
NONE . |
boolean |
isReinitialize()
Deprecated.
Returns true if this is
REINITIALIZE . |
String |
toString()
Deprecated.
Returns a string representation for this resumption action.
|
@Immutable public static final ResumptionAction NONE
@Immutable 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
@Immutable public static final List VALUES
public static ResumptionAction fromOrdinal(byte ordinal)
ordinal
- the ordinal representation of a ResumptionActionpublic static ResumptionAction fromName(String name)
name
- the name of the actionpublic boolean isNone()
NONE
.NONE
public boolean isReinitialize()
REINITIALIZE
.REINITIALIZE