// determine the preference maps
LinkedHashMap<State, Integer> stateCounts =
ConstraintBasedAssignment.stateCount(upperBounds, stateModelDef, participantSet.size(),
getReplicaCount());
ReplicaPlacementScheme placementScheme = new DefaultPlacementScheme();
List<ParticipantId> participantList = new ArrayList<ParticipantId>(participantSet);
List<PartitionId> partitionList = new ArrayList<PartitionId>(getPartitionSet());
AutoRebalanceStrategy strategy =
new AutoRebalanceStrategy(ResourceId.from(""), partitionList, stateCounts,
getMaxPartitionsPerParticipant(), placementScheme);