private void finish1(@CheckForNull Throwable problems) { if (problems != null) { // for some reason the executor died. this is really // a bug in the code, but we don't want the executor to die, // so just leave some info and go on to build other things LOGGER.log(Level.SEVERE, "Executor threw an exception", problems); workUnit.context.abort(problems); } long time = System.currentTimeMillis() - startTime; LOGGER.log(FINE, "{0} completed {1} in {2}ms", new Object[]{getName(), executable, time}); try { workUnit.context.synchronizeEnd(this, executable, problems, time); } catch (InterruptedException e) { workUnit.context.abort(e); } finally { workUnit.setExecutor(null); } }
private void finish1(@CheckForNull Throwable problems) { if (problems != null) { // for some reason the executor died. this is really // a bug in the code, but we don't want the executor to die, // so just leave some info and go on to build other things LOGGER.log(Level.SEVERE, "Executor threw an exception", problems); workUnit.context.abort(problems); } long time = System.currentTimeMillis() - startTime; LOGGER.log(FINE, "{0} completed {1} in {2}ms", new Object[]{getName(), executable, time}); try { workUnit.context.synchronizeEnd(this, executable, problems, time); } catch (InterruptedException e) { workUnit.context.abort(e); } finally { workUnit.setExecutor(null); } }
workUnit.setExecutor(this); task = workUnit.work; startTime = System.currentTimeMillis(); continue; } finally { workUnit.setExecutor(null);
workUnit.setExecutor(this); task = workUnit.work; startTime = System.currentTimeMillis(); continue; } finally { workUnit.setExecutor(null);
workUnit.setExecutor(this); task = workUnit.work; startTime = System.currentTimeMillis(); continue; } finally { workUnit.setExecutor(null);
workUnit.setExecutor(this); task = workUnit.work; startTime = System.currentTimeMillis(); continue; } finally { workUnit.setExecutor(null);