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 host, rack 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 racks, if rack A fails, rack B will still have all the backups and is guaranteed to still provide all data. Similar is true for zones 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 © 2018 Hazelcast, Inc.. All Rights Reserved.