@Deprecated @Immutable public class LossAction extends Object implements Serializable
LossAction
is specified when configuring a region's
MembershipAttributes
.Modifier and Type | Field and Description |
---|---|
static LossAction |
FULL_ACCESS
Deprecated.
Access to the region is unaffected when required roles are missing.
|
static LossAction |
LIMITED_ACCESS
Deprecated.
Only local access to the region is allowed when required roles are missing.
|
static LossAction |
NO_ACCESS
Deprecated.
The region is unavailable when required roles are missing.
|
byte |
ordinal
Deprecated.
byte used as ordinal to represent this Scope
|
static LossAction |
RECONNECT
Deprecated.
Loss of required roles causes the entire cache to be closed.
|
static List |
VALUES
Deprecated.
List of all LossAction values
|
Modifier and Type | Method and Description |
---|---|
static LossAction |
fromName(String name)
Deprecated.
Return the LossAction specified by name
|
static LossAction |
fromOrdinal(byte ordinal)
Deprecated.
Return the LossAction represented by specified ordinal
|
boolean |
isAllAccess()
Deprecated.
Returns true if this is
FULL_ACCESS . |
boolean |
isLimitedAccess()
Deprecated.
Returns true if this is
LIMITED_ACCESS . |
boolean |
isNoAccess()
Deprecated.
Returns true if this is
NO_ACCESS . |
boolean |
isReconnect()
Deprecated.
Returns true if this is
RECONNECT . |
String |
toString()
Deprecated.
Returns a string representation for this loss action.
|
@Immutable public static final LossAction NO_ACCESS
RegionAccessException
while any required roles are absent. Basic administration of the
region is allowed, including close and
localDestroyRegion.@Immutable public static final LossAction LIMITED_ACCESS
RegionAccessException
while any required
roles are absent. Reads which result in a netSearch behave normally, while any attempt to
invoke a netLoad is not allowed.@Immutable public static final LossAction FULL_ACCESS
@Immutable public static final LossAction RECONNECT
CacheClosedException
.public final byte ordinal
@Immutable public static final List VALUES
public static LossAction fromOrdinal(byte ordinal)
ordinal
- the ordinal representation of a LossActionpublic static LossAction fromName(String name)
name
- the name of a LossActionpublic boolean isNoAccess()
NO_ACCESS
.NO_ACCESS
public boolean isLimitedAccess()
LIMITED_ACCESS
.LIMITED_ACCESS
public boolean isAllAccess()
FULL_ACCESS
.FULL_ACCESS
public boolean isReconnect()
RECONNECT
.RECONNECT