VMware GemFire Java API Reference
Package org.apache.geode.cache
Class ResumptionAction
- java.lang.Object
-
- org.apache.geode.cache.ResumptionAction
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated @Immutable public class ResumptionAction extends java.lang.Object implements java.io.Serializable
Deprecated.this API is scheduled to be removedSpecifies how the region is affected by resumption of reliability when one or more missing required roles return to the distributed membership. TheResumptionActionis specified when configuring a region'sMembershipAttributes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ResumptionActionNONEDeprecated.No special action takes place when reliability resumes.byteordinalDeprecated.byte used as ordinal to represent this Scopestatic ResumptionActionREINITIALIZEDeprecated.Resumption of reliability causes the region to be cleared of all data andreplicatedregions will do a new getInitialImage operation to repopulate the region.static java.util.List<ResumptionAction>VALUESDeprecated.List of all ResumptionAction values
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResumptionActionfromName(java.lang.String name)Deprecated.Return the ResumptionAction specified by namestatic ResumptionActionfromOrdinal(byte ordinal)Deprecated.Return the ResumptionAction represented by specified ordinalbooleanisNone()Deprecated.Returns true if this isNONE.booleanisReinitialize()Deprecated.Returns true if this isREINITIALIZE.java.lang.StringtoString()Deprecated.Returns a string representation for this resumption action.
-
-
-
Field Detail
-
NONE
@Immutable public static final ResumptionAction NONE
Deprecated.No special action takes place when reliability resumes.
-
REINITIALIZE
@Immutable public static final ResumptionAction REINITIALIZE
Deprecated.Resumption of reliability causes the region to be cleared of all data andreplicatedregions 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 aRegionReinitializedException.
-
ordinal
public final byte ordinal
Deprecated.byte used as ordinal to represent this Scope
-
VALUES
@Immutable public static final java.util.List<ResumptionAction> VALUES
Deprecated.List of all ResumptionAction values
-
-
Method Detail
-
fromOrdinal
public static ResumptionAction fromOrdinal(byte ordinal)
Deprecated.Return the ResumptionAction represented by specified ordinal- Parameters:
ordinal- the ordinal representation of a ResumptionAction- Returns:
- the ResumptionAction specified by name
-
fromName
public static ResumptionAction fromName(java.lang.String name)
Deprecated.Return the ResumptionAction specified by name- Parameters:
name- the name of the action- Returns:
- the ResumptionAction specified by name
-
isNone
public boolean isNone()
Deprecated.Returns true if this isNONE.- Returns:
- whether this is
NONE
-
isReinitialize
public boolean isReinitialize()
Deprecated.Returns true if this isREINITIALIZE.- Returns:
- whether this is
REINITIALIZE
-
toString
public java.lang.String toString()
Deprecated.Returns a string representation for this resumption action.- Overrides:
toStringin classjava.lang.Object- Returns:
- the name of this resumption action
-
-