@FunctionalInterface public interface PartitionGroupStrategy
A PartitionGroupStrategy
implementation defines a strategy
how backup groups are designed. Backup groups are units containing
one or more Hazelcast nodes to share the same physical node/machine or
zone and backups are stored on nodes being part of a different
backup group. This behavior builds an additional layer of data
reliability by making sure that, in case of two zones, if zone A
fails, zone B will still have all the backups and is guaranteed
to still provide all data. Similar is true for nodes or physical hosts.
Custom implementations of the PartitionGroupStrategy may add specific
or additional behavior based on the provided environment and can
be injected into Hazelcast by overriding
AbstractDiscoveryStrategy.getPartitionGroupStrategy()
.
Modifier and Type | Method and Description |
---|---|
Iterable<MemberGroup> |
getMemberGroups() |
Iterable<MemberGroup> getMemberGroups()
Copyright © 2022 Hazelcast, Inc.. All rights reserved.