Enum PartitionGroupMetaData

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PartitionGroupMetaData>

    public enum PartitionGroupMetaData
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PARTITION_GROUP_NODE
      Metadata key definition for a node machine that containers/pods run on, in case of container orchestration tools being used.
      static java.lang.String PARTITION_GROUP_PLACEMENT
      Metadata key definition for the placement group to which VMs belong if a placement strategy is applied by cloud providers.
      static java.lang.String PARTITION_GROUP_ZONE
      Metadata key definition for a low-latency link between (virtual) data centers in the same area
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PartitionGroupMetaData valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PartitionGroupMetaData[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • PARTITION_GROUP_ZONE

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

        public static final java.lang.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:
        Constant Field Values
      • PARTITION_GROUP_PLACEMENT

        public static final java.lang.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:
        Constant Field Values
    • Method Detail

      • values

        public static PartitionGroupMetaData[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PartitionGroupMetaData c : PartitionGroupMetaData.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PartitionGroupMetaData valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null