|
GemFire 6.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.Scope
public class Scope
Enumerated type for region distribution scope.
RegionAttributes.getScope(),
AttributesFactory.setScope(com.gemstone.gemfire.cache.Scope),
Serialized Form| Field Summary | |
|---|---|
static Scope |
DISTRIBUTED_ACK
The region or cached object with this attribute is scoped to the distributed cached system; any distributed operation will not return until all the remote acknowledgements come back. |
static Scope |
DISTRIBUTED_NO_ACK
The region or cached object with this attribute is scoped to the distributed cached system; any distributed operation will return without waiting for the remote acknowledgement. |
static Scope |
GLOBAL
The region or cached object with this attribute is scoped to the distributed cached system; locking is used for all distributed operations on entries to guarantee consistency across the distributed caches. |
static Scope |
LOCAL
The region with this attribute is scoped to this JVM only. |
int |
ordinal
int used as ordinal to represent this Scope |
| Method Summary | |
|---|---|
static Scope |
fromOrdinal(int ordinal)
Return the Scope represented by specified ordinal |
static Scope |
fromString(String scope)
Parse the given string into a Scope |
boolean |
isAck()
Returns whether acknowledgements are required for this scope. |
boolean |
isDistributed()
Returns whether this is one of the distributed scopes. |
boolean |
isDistributedAck()
Returns whether this is distributed ack scope. |
boolean |
isDistributedNoAck()
Returns whether this is distributed no ack scope. |
boolean |
isGlobal()
Returns whether this is global scope. |
boolean |
isLocal()
Returns whether this is local scope. |
String |
toString()
Returns a string representation for this scope. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Scope LOCAL
public static final Scope DISTRIBUTED_NO_ACK
public static final Scope DISTRIBUTED_ACK
public static final Scope GLOBAL
public final int ordinal
| Method Detail |
|---|
public static Scope fromOrdinal(int ordinal)
public boolean isLocal()
public boolean isDistributed()
public boolean isDistributedNoAck()
public boolean isDistributedAck()
public boolean isGlobal()
public boolean isAck()
public String toString()
toString in class Objectpublic static Scope fromString(String scope)
scope - the provided String form of Scope
|
GemFire 6.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||