@Deprecated public void synchronizeEnd(Queue.Executable executable, Throwable problems, long duration) throws InterruptedException { synchronizeEnd(Executor.currentExecutor(), executable, problems, duration); }
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); } }
@Deprecated public void synchronizeEnd(Queue.Executable executable, Throwable problems, long duration) throws InterruptedException { synchronizeEnd(Executor.currentExecutor(), executable, problems, duration); }
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); } }
finishTime = System.currentTimeMillis(); try { workUnit.context.synchronizeEnd(executable,problems,finishTime - startTime); } catch (InterruptedException e) { workUnit.context.abort(e);
finishTime = System.currentTimeMillis(); try { workUnit.context.synchronizeEnd(executable,problems,finishTime - startTime); } catch (InterruptedException e) { workUnit.context.abort(e);
finishTime = System.currentTimeMillis(); try { workUnit.context.synchronizeEnd(executable, problems, finishTime - startTime); } catch (InterruptedException e) { workUnit.context.abort(e);
finishTime = System.currentTimeMillis(); try { workUnit.context.synchronizeEnd(executable,problems,finishTime - startTime); } catch (InterruptedException e) { workUnit.context.abort(e);