/** * Wait for Group Threads to stop */ private void waitThreadsStopped() { // ConcurrentHashMap does not need synch. here for (AbstractThreadGroup threadGroup : groups) { threadGroup.waitThreadsStopped(); } }
log.info("Waiting for setup thread group: {} to finish before starting next setup group", groupName); group.waitThreadsStopped(); if (serialized && iter.hasNext()) { log.info("Waiting for thread group: {} to finish before starting next group", groupName); group.waitThreadsStopped(); if (serialized && postIter.hasNext()) { log.info("Waiting for post thread group: {} to finish before starting next post group", groupName); group.waitThreadsStopped();