@Experimental public enum RegionType extends Enum<RegionType>
Enum Constant and Description |
---|
LEGACY |
PARTITION |
PARTITION_PERSISTENT |
PARTITION_PROXY |
REPLICATE |
REPLICATE_PERSISTENT |
REPLICATE_PROXY |
Modifier and Type | Method and Description |
---|---|
static RegionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
withPartition() |
boolean |
withPersistent() |
boolean |
withProxy() |
boolean |
withReplicate() |
public static final RegionType PARTITION
public static final RegionType PARTITION_PERSISTENT
public static final RegionType PARTITION_PROXY
public static final RegionType REPLICATE
public static final RegionType REPLICATE_PERSISTENT
public static final RegionType REPLICATE_PROXY
public static final RegionType LEGACY
public static RegionType[] values()
for (RegionType c : RegionType.values()) System.out.println(c);
public static RegionType 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 boolean withProxy()
public boolean withPersistent()
public boolean withReplicate()
public boolean withPartition()