Enum Class PartitionGroupMetaData

java.lang.Object
java.lang.Enum<PartitionGroupMetaData>
com.hazelcast.spi.partitiongroup.PartitionGroupMetaData
All Implemented Interfaces:
Serializable, Comparable<PartitionGroupMetaData>, Constable

public enum PartitionGroupMetaData extends Enum<PartitionGroupMetaData>
This class contains the definition of known Discovery SPI metadata to support automatic generation of zone aware and node aware backup strategies. Zone aware backup strategies are based on cloud or service discovery provided information. A zone is the term used to refer low-latency link between (virtual) data centers in the same area. Node aware backup strategy is based on name of the node which is provided by container orchestration tool. like Kubernetes, Docker Swarm and ECS. A node is the term used to refer machine that containers/pods run on. A node may be a virtual or physical machine. Placement aware backup strategy is based on the placement strategies of the virtual machines on which Hazelcast members run. Unlike zone aware, this strategy can group members within a single availability zone based on their racks, power sources, network, etc.
  • Field Details

    • PARTITION_GROUP_ZONE

      public static final String PARTITION_GROUP_ZONE
      Metadata key definition for a low-latency link between (virtual) data centers in the same area
      See Also:
    • PARTITION_GROUP_NODE

      public static final String PARTITION_GROUP_NODE
      Metadata key definition for a node machine that containers/pods run on, in case of container orchestration tools being used.
      See Also:
    • PARTITION_GROUP_PLACEMENT

      public static final String PARTITION_GROUP_PLACEMENT
      Metadata key definition for the placement group to which VMs belong if a placement strategy is applied by cloud providers.
      See Also:
  • Method Details

    • values

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