for(int i = 0; i < count; i++) {
controller.addServerModelUpdate(updates.get(i), handler, Integer.valueOf(i));
}
controller.executeUpdates();
log.debugf("Executed %s updates", updates.size());
try {
latch.await();
} catch(InterruptedException e) {
Thread.currentThread().interrupt();