|
GemFire 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.LossAction
public class LossAction
Specifies how access to the region is affected when one or more required
roles are lost. A role is lost when it is are offline and no longer
present in the system membership.
The LossAction is specified when configuring a region's
MembershipAttributes.
| Field Summary | |
|---|---|
static LossAction |
FULL_ACCESS
Access to the region is unaffected when required roles are missing. |
static LossAction |
LIMITED_ACCESS
Only local access to the region is allowed when required roles are missing. |
static LossAction |
NO_ACCESS
The region is unavailable when required roles are missing. |
byte |
ordinal
byte used as ordinal to represent this Scope |
static LossAction |
RECONNECT
Loss of required roles causes the entire cache to be closed. |
static List |
VALUES
List of all LossAction values |
| Method Summary | |
|---|---|
static LossAction |
fromName(String name)
Return the LossAction specified by name |
static LossAction |
fromOrdinal(byte ordinal)
Return the LossAction represented by specified ordinal |
boolean |
isAllAccess()
Returns true if this is FULL_ACCESS. |
boolean |
isLimitedAccess()
Returns true if this is LIMITED_ACCESS. |
boolean |
isNoAccess()
Returns true if this is NO_ACCESS. |
boolean |
isReconnect()
Returns true if this is RECONNECT. |
String |
toString()
Returns a string representation for this loss action. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final LossAction NO_ACCESS
RegionAccessException while any
required roles are absent. Basic administration of the region is allowed,
including close and
localDestroyRegion.
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.
public static final LossAction FULL_ACCESS
public static final LossAction RECONNECT
CacheClosedException.
public final byte ordinal
public static final List VALUES
| Method Detail |
|---|
public static LossAction fromOrdinal(byte ordinal)
public static LossAction fromName(String name)
public boolean isNoAccess()
NO_ACCESS.
public boolean isLimitedAccess()
LIMITED_ACCESS.
public boolean isAllAccess()
FULL_ACCESS.
public boolean isReconnect()
RECONNECT.
public String toString()
toString in class Object
|
GemFire 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||