Enum PartitionGroupMetaData

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

public enum PartitionGroupMetaData
extends Enum<PartitionGroupMetaData>
This class contains the definition of known Discovery SPI metadata to support automatic generation of zone aware backup strategies based on cloud or service discovery provided information. These information are split into three different levels of granularity:
  • Zone: A low-latency link between (virtual) data centers in the same area
  • Rack: A low-latency link inside the same data center but for different racks
  • Host: A low-latency link on a shared physical node, in case of virtualization being used
  • Field Details

  • Method Details

    • values

      public static PartitionGroupMetaData[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PartitionGroupMetaData valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null