public interface PartitionStateGenerator
Modifier and Type | Method and Description |
---|---|
Address[][] |
arrange(Collection<MemberGroup> groups,
InternalPartition[] currentState)
Arranges the partition layout.
|
Address[][] |
arrange(Collection<MemberGroup> groups,
InternalPartition[] currentState,
Collection<Integer> partitions)
Arranges the partition layout.
|
Address[][] arrange(Collection<MemberGroup> groups, InternalPartition[] currentState)
groups
- member groupscurrentState
- current partition state.Address[][] 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 © 2017 Hazelcast, Inc.. All Rights Reserved.