Enum Class PartitionGroupType
- All Implemented Interfaces:
Serializable, Comparable<PartitionGroupType>, Constable
Partition replica placement grouping mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCustom member-group placement: backups must use a different configured IP/CIDR member group.Host-aware placement: backups must use a member on a different host when a backup is available.Default placement: backups must use a different member, but may share the same host.AWS placement-aware grouping: backups must use a different placement partition domain.Discovery SPI placement: backups must use a different discovery-provided partition group hint. -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionGroupTypestatic PartitionGroupTypeReturns the enum constant of this class with the specified name.static PartitionGroupType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_MEMBER
Default placement: backups must use a different member, but may share the same host. -
HOST_AWARE
Host-aware placement: backups must use a member on a different host when a backup is available. -
PLACEMENT_AWARE
AWS placement-aware grouping: backups must use a different placement partition domain. -
CUSTOM
Custom member-group placement: backups must use a different configured IP/CIDR member group. -
SPI
Discovery SPI placement: backups must use a different discovery-provided partition group hint.
-
-
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
-
parse
-