accessor.getProperty(keyBuilder.stateModelDef(stateModelDefName));
State masterValue = stateModelDef.getTypedStatesPriorityList().get(0);
Map<String, LiveInstance> liveInstanceMap =
accessor.getChildValuesMap(keyBuilder.liveInstances());
int replicas = Integer.parseInt(idealState.getReplicas());
return verifyBalanceExternalView(accessor.getProperty(keyBuilder.externalView(_resourceName))
.getRecord(), numberOfPartitions, masterValue.toString(), replicas,
liveInstanceMap.size(), idealState.getMaxPartitionsPerInstance());
}
@Override