- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PartitionGroupStrategy
PartitionGroupStrategyimplementation 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