Package org.springframework.data.gemfire
Enum Class RegionShortcutWrapper
- All Implemented Interfaces:
Serializable
,Comparable<RegionShortcutWrapper>
,Constable
The RegionShortcutWrapper enum is a Java enumerated type that wraps GemFire's RegionShortcuts
with Spring Data GemFire RegionShortcutWrapper enumerated values.
- Since:
- 1.4.0
- See Also:
-
RegionShortcut
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.geode.cache.DataPolicy
org.apache.geode.cache.RegionShortcut
boolean
boolean
isLocal()
boolean
boolean
boolean
boolean
boolean
isProxy()
boolean
boolean
static RegionShortcutWrapper
Returns the enum constant of this class with the specified name.static RegionShortcutWrapper
valueOf
(org.apache.geode.cache.RegionShortcut regionShortcut) Returns the enum constant of this class with the specified name.static RegionShortcutWrapper[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCAL
-
LOCAL_HEAP_LRU
-
LOCAL_OVERFLOW
-
LOCAL_PERSISTENT
-
LOCAL_PERSISTENT_OVERFLOW
-
PARTITION
-
PARTITION_HEAP_LRU
-
PARTITION_OVERFLOW
-
PARTITION_PERSISTENT
-
PARTITION_PERSISTENT_OVERFLOW
-
PARTITION_PROXY
-
PARTITION_PROXY_REDUNDANT
-
PARTITION_REDUNDANT
-
PARTITION_REDUNDANT_HEAP_LRU
-
PARTITION_REDUNDANT_OVERFLOW
-
PARTITION_REDUNDANT_PERSISTENT
-
PARTITION_REDUNDANT_PERSISTENT_OVERFLOW
-
REPLICATE
-
REPLICATE_HEAP_LRU
-
REPLICATE_OVERFLOW
-
REPLICATE_PERSISTENT
-
REPLICATE_PERSISTENT_OVERFLOW
-
REPLICATE_PROXY
-
UNSPECIFIED
-
-
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
-
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:
regionShortcut
- 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
-
getDataPolicy
public org.apache.geode.cache.DataPolicy getDataPolicy() -
getRegionShortcut
public org.apache.geode.cache.RegionShortcut getRegionShortcut() -
isHeapLru
public boolean isHeapLru() -
isLocal
public boolean isLocal() -
isOverflow
public boolean isOverflow() -
isPartition
public boolean isPartition() -
isPersistent
public boolean isPersistent() -
isPersistentOverflow
public boolean isPersistentOverflow() -
isProxy
public boolean isProxy() -
isRedundant
public boolean isRedundant() -
isReplicate
public boolean isReplicate()
-