CommandRunnable cmdRunnable = new CommandRunnable(invocation, instanceReport, responseQueue); cmdRunnable.setName(iname); threadPool.execute(cmdRunnable); String iname = cmdRunnable.getName(); waitingForServerNames.remove(iname); ActionReport instanceReport = cmdRunnable.getActionReport(); logger.fine(String.format("Instance %d of %d (%s) has responded with %s", n+1, nInstances, iname, instanceReport.getActionExitCode()));
CommandRunnable cmdRunnable = new CommandRunnable(invocation, instanceReport, responseQueue); cmdRunnable.setName(iname); threadPool.execute(cmdRunnable); String iname = cmdRunnable.getName(); waitingForServerNames.remove(iname); ActionReport instanceReport = cmdRunnable.getActionReport(); if (logger.isLoggable(Level.FINE)) logger.fine(String.format(