Package com.hazelcast.spi.partitiongroup
Enum Class PartitionGroupMetaData
- All Implemented Interfaces:
Serializable
,Comparable<PartitionGroupMetaData>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Metadata key definition for a node machine that containers/pods run on, in case of container orchestration tools being used.static final String
Metadata key definition for the placement group to which VMs belong if a placement strategy is applied by cloud providers.static final String
Metadata key definition for a low-latency link between (virtual) data centers in the same area -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionGroupMetaData
Returns the enum constant of this class with the specified name.static PartitionGroupMetaData[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Field Details
-
PARTITION_GROUP_ZONE
Metadata key definition for a low-latency link between (virtual) data centers in the same area- See Also:
-
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
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
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
-