if(log.isDebugEnabled()){
log.debug(String.format("Partition algorithm is ", partitionAlgorithm));
}
if(Constants.ROUND_ROBIN_ALGORITHM_ID.equals(partitionAlgorithm)){
autoscaleAlgorithm = new RoundRobin();
} else if(Constants.ONE_AFTER_ANOTHER_ALGORITHM_ID.equals(partitionAlgorithm)){
autoscaleAlgorithm = new OneAfterAnother();
} else {
if(log.isErrorEnabled()){