@Experimental public enum RegionAttributesDataPolicy extends Enum<RegionAttributesDataPolicy> implements Serializable
Java class for region-attributesData-policy.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="region-attributesData-policy"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="empty"/> <enumeration value="normal"/> <enumeration value="partition"/> <enumeration value="persistent-replicate"/> <enumeration value="preloaded"/> <enumeration value="replicate"/> <enumeration value="persistent-partition"/> </restriction> </simpleType>
Enum Constant and Description |
---|
EMPTY |
NORMAL |
PARTITION |
PERSISTENT_PARTITION |
PERSISTENT_REPLICATE |
PRELOADED |
REPLICATE |
Modifier and Type | Method and Description |
---|---|
boolean |
isPartition() |
boolean |
isPersistent() |
String |
value() |
static RegionAttributesDataPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionAttributesDataPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionAttributesDataPolicy EMPTY
public static final RegionAttributesDataPolicy NORMAL
public static final RegionAttributesDataPolicy PARTITION
public static final RegionAttributesDataPolicy PERSISTENT_REPLICATE
public static final RegionAttributesDataPolicy PRELOADED
public static final RegionAttributesDataPolicy REPLICATE
public static final RegionAttributesDataPolicy PERSISTENT_PARTITION
public static RegionAttributesDataPolicy[] values()
for (RegionAttributesDataPolicy c : RegionAttributesDataPolicy.values()) System.out.println(c);
public static RegionAttributesDataPolicy 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 String value()
public boolean isPersistent()
public boolean isPartition()