Package org.springframework.data.gemfire
Enum Class ScopeType
- All Implemented Interfaces:
Serializable
,Comparable<ScopeType>
,Constable
The ScopeType enum is an enumeration of GemFire Scopes.
- Since:
- 1.6.0
- See Also:
-
Scope
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.geode.cache.Scope
getScope()
Gets the matching GemFire Scope for this enumerated value.static org.apache.geode.cache.Scope
Null-safe operation to extract the GemFire Scope from the given ScopeType enum value, or null if the provided scopeType is null.static ScopeType
Returns the enum constant of this class with the specified name.static ScopeType
valueOf
(org.apache.geode.cache.Scope scope) Returns a ScopeType enumerated value for the given a GemFire Scope.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 class, in the order they are declared.
-
Enum Constant Details
-
DISTRIBUTED_ACK
-
DISTRIBUTED_NO_ACK
-
GLOBAL
-
LOCAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getScope
Null-safe operation to extract the GemFire Scope from the given ScopeType enum value, or null if the provided scopeType is null.- Parameters:
scopeType
- the ScopeType enumerated value from which to extract the GemFire Scope.- Returns:
- the paired GemFire Scope from the given ScopeType or null if scopeType is null.
- See Also:
-
Scope
getScope()
-
valueOf
Returns a ScopeType enumerated value for the given a GemFire Scope.- Parameters:
scope
- the GemFire Scope used to lookup and match the appropriate ScopeType.- Returns:
- a ScopeType for the given GemFire Scope or null if no match was found.
- See Also:
-
Scope
getScope()
values()
-
valueOfIgnoreCase
Returns a ScopeType enumerated value given the case-insensitive name of the GemFire Scope.- Parameters:
name
- a String name describing the ScopeType enum value.- Returns:
- a ScopeType for the given case-insensitive, named GemFire Scope.
- See Also:
-
String.equalsIgnoreCase(String)
values()
Enum.name()
transform(String)
-
getScope
public org.apache.geode.cache.Scope getScope()Gets the matching GemFire Scope for this enumerated value.- Returns:
- a GemFire Scope for this enumerated value.
- See Also:
-
Scope
-