public enum ScopeType extends Enum<ScopeType>
Scope
Enum Constant and Description |
---|
DISTRIBUTED_ACK |
DISTRIBUTED_NO_ACK |
GLOBAL |
LOCAL |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.Scope |
getScope()
Gets the matching GemFire Scope for this enumerated value.
|
static org.apache.geode.cache.Scope |
getScope(ScopeType scopeType)
Null-safe operation to extract the GemFire Scope from the given ScopeType enum value, or null if the provided
scopeType is null.
|
static ScopeType |
valueOf(org.apache.geode.cache.Scope scope)
Returns a ScopeType enumerated value for the given a GemFire Scope.
|
static ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScopeType |
valueOfIgnoreCase(String name)
Returns a ScopeType enumerated value given the case-insensitive name of the GemFire Scope.
|
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScopeType DISTRIBUTED_ACK
public static final ScopeType DISTRIBUTED_NO_ACK
public static final ScopeType GLOBAL
public static final ScopeType LOCAL
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static org.apache.geode.cache.Scope getScope(ScopeType scopeType)
scopeType
- the ScopeType enumerated value from which to extract the GemFire Scope.Scope
,
getScope()
public static ScopeType valueOf(org.apache.geode.cache.Scope scope)
scope
- the GemFire Scope used to lookup and match the appropriate ScopeType.Scope
,
getScope()
,
values()
public static ScopeType valueOfIgnoreCase(String name)
name
- a String name describing the ScopeType enum value.String.equalsIgnoreCase(String)
,
values()
,
Enum.name()
,
transform(String)
public org.apache.geode.cache.Scope getScope()
Scope
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.