Enum Class PartitionGroupType

java.lang.Object
java.lang.Enum<PartitionGroupType>
com.loomcache.common.config.PartitionGroupType
All Implemented Interfaces:
Serializable, Comparable<PartitionGroupType>, Constable

public enum PartitionGroupType extends Enum<PartitionGroupType>
Partition replica placement grouping mode.
  • Enum Constant Details

    • PER_MEMBER

      public static final PartitionGroupType PER_MEMBER
      Default placement: backups must use a different member, but may share the same host.
    • HOST_AWARE

      public static final PartitionGroupType HOST_AWARE
      Host-aware placement: backups must use a member on a different host when a backup is available.
    • PLACEMENT_AWARE

      public static final PartitionGroupType PLACEMENT_AWARE
      AWS placement-aware grouping: backups must use a different placement partition domain.
    • CUSTOM

      public static final PartitionGroupType CUSTOM
      Custom member-group placement: backups must use a different configured IP/CIDR member group.
    • SPI

      public static final PartitionGroupType SPI
      Discovery SPI placement: backups must use a different discovery-provided partition group hint.
  • Method Details

    • values

      public static PartitionGroupType[] 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

      public static PartitionGroupType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • parse

      public static PartitionGroupType parse(String value)