org.springframework.data.gemfire.support
Enum RegionShortcutWrapper
java.lang.Object
java.lang.Enum<RegionShortcutWrapper>
org.springframework.data.gemfire.support.RegionShortcutWrapper
- All Implemented Interfaces:
- Serializable, Comparable<RegionShortcutWrapper>
public enum RegionShortcutWrapper
- extends Enum<RegionShortcutWrapper>
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
LOCAL
public static final RegionShortcutWrapper LOCAL
LOCAL_HEAP_LRU
public static final RegionShortcutWrapper LOCAL_HEAP_LRU
LOCAL_OVERFLOW
public static final RegionShortcutWrapper LOCAL_OVERFLOW
LOCAL_PERSISTENT
public static final RegionShortcutWrapper LOCAL_PERSISTENT
LOCAL_PERSISTENT_OVERFLOW
public static final RegionShortcutWrapper LOCAL_PERSISTENT_OVERFLOW
PARTITION
public static final RegionShortcutWrapper PARTITION
PARTITION_HEAP_LRU
public static final RegionShortcutWrapper PARTITION_HEAP_LRU
PARTITION_OVERFLOW
public static final RegionShortcutWrapper PARTITION_OVERFLOW
PARTITION_PERSISTENT
public static final RegionShortcutWrapper PARTITION_PERSISTENT
PARTITION_PERSISTENT_OVERFLOW
public static final RegionShortcutWrapper PARTITION_PERSISTENT_OVERFLOW
PARTITION_PROXY
public static final RegionShortcutWrapper PARTITION_PROXY
PARTITION_PROXY_REDUNDANT
public static final RegionShortcutWrapper PARTITION_PROXY_REDUNDANT
PARTITION_REDUNDANT
public static final RegionShortcutWrapper PARTITION_REDUNDANT
PARTITION_REDUNDANT_HEAP_LRU
public static final RegionShortcutWrapper PARTITION_REDUNDANT_HEAP_LRU
PARTITION_REDUNDANT_OVERFLOW
public static final RegionShortcutWrapper PARTITION_REDUNDANT_OVERFLOW
PARTITION_REDUNDANT_PERSISTENT
public static final RegionShortcutWrapper PARTITION_REDUNDANT_PERSISTENT
PARTITION_REDUNDANT_PERSISTENT_OVERFLOW
public static final RegionShortcutWrapper PARTITION_REDUNDANT_PERSISTENT_OVERFLOW
REPLICATE
public static final RegionShortcutWrapper REPLICATE
REPLICATE_HEAP_LRU
public static final RegionShortcutWrapper REPLICATE_HEAP_LRU
REPLICATE_OVERFLOW
public static final RegionShortcutWrapper REPLICATE_OVERFLOW
REPLICATE_PERSISTENT
public static final RegionShortcutWrapper REPLICATE_PERSISTENT
REPLICATE_PERSISTENT_OVERFLOW
public static final RegionShortcutWrapper REPLICATE_PERSISTENT_OVERFLOW
REPLICATE_PROXY
public static final RegionShortcutWrapper REPLICATE_PROXY
UNSPECIFIED
public static final RegionShortcutWrapper UNSPECIFIED
values
public static RegionShortcutWrapper[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RegionShortcutWrapper c : RegionShortcutWrapper.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RegionShortcutWrapper valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException - if the argument is null
valueOf
public static RegionShortcutWrapper valueOf(com.gemstone.gemfire.cache.RegionShortcut regionShortcut)
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()
getRegionShortcut
public com.gemstone.gemfire.cache.RegionShortcut getRegionShortcut()