.maxCapacity(maxCapacity)
.minCapacityPerZone(minCapacityPerZone)
.maxCapacityPerZone(maxCapacityPerZone)
.statisticsPollingInterval(service.getSamplingPeriodInSeconds(), TimeUnit.SECONDS)
.cooldownAfterScaleOut(service.getScaleOutCooldownInSeconds(),TimeUnit.SECONDS)
<BUG>.cooldownAfterScaleIn(service.getScaleInCooldownInSeconds(),TimeUnit.SECONDS);
if (locationAware) {</BUG>
scaleConfigurer.enableGridServiceAgentZonesAware();
}
Map<String, ServiceStatisticsDetails> serviceStatisticsByName = new HashMap<String, ServiceStatisticsDetails>();

.maxCapacity(maxCapacity)
.minCapacityPerZone(minCapacityPerZone)
.maxCapacityPerZone(maxCapacityPerZone)
.statisticsPollingInterval(service.getSamplingPeriodInSeconds(), TimeUnit.SECONDS)
.cooldownAfterScaleOut(service.getScaleOutCooldownInSeconds(),TimeUnit.SECONDS)
.cooldownAfterScaleIn(service.getScaleInCooldownInSeconds(),TimeUnit.SECONDS)
.atMostOneContainerPerMachine();
if (locationAware) {
scaleConfigurer.enableGridServiceAgentZonesAware();
}
Map<String, ServiceStatisticsDetails> serviceStatisticsByName = new HashMap<String, ServiceStatisticsDetails>();
