public interface PartitionStateGenerator
Modifier and Type | Method and Description |
---|---|
PartitionReplica[][] |
arrange(Collection<MemberGroup> groups,
InternalPartition[] currentState)
Arranges the partition layout.
|
PartitionReplica[][] |
arrange(Collection<MemberGroup> groups,
InternalPartition[] currentState,
Collection<Integer> partitions)
Arranges the partition layout.
|
PartitionReplica[][] arrange(Collection<MemberGroup> groups, InternalPartition[] currentState)
groups
- member groupscurrentState
- current partition state.PartitionReplica[][] arrange(Collection<MemberGroup> groups, InternalPartition[] currentState, Collection<Integer> partitions)
arrange(Collection, InternalPartition[])
.groups
- member groupscurrentState
- current partition state.partitions
- Partitions to be arranged only.Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.