Home | History | Annotate | Download | only in concurrent

Lines Matching defs:shutdown

71    * adding a shutdown hook to wait for their completion.
93 * does so by using daemon threads and adding a shutdown hook to wait for
114 * Add a shutdown hook to wait for thread completion in the given
117 * shutdown, instead giving these daemon threads a chance to terminate
134 * adding a shutdown hook to wait for their completion.
154 * and adding a shutdown hook to wait for their completion.
172 /** Represents the current application to register shutdown hooks. */
201 // is undefined in shutdown hooks.
202 // This is because the logging code installs a shutdown hook of its
204 service.shutdown();
241 * executor has been shutdown).
245 * locking overhead on each task submission in order to implement shutdown
259 * Finally, a call to {@code shutdown} or {@code shutdownNow} may result
278 * (runningTasks, shutdown, terminationCondition) of the executor
282 /** Signaled after the executor is shutdown and running tasks are done */
288 * - Active: shutdown == false
289 * - Shutdown: runningTasks > 0 and shutdown == true
290 * - Terminated: runningTasks == 0 and shutdown == true
293 private boolean shutdown = false;
309 return shutdown;
316 public void shutdown() {
319 shutdown = true;
328 shutdown();
336 return shutdown && runningTasks == 0;
367 * shutdown
373 throw new RejectedExecutionException("Executor already shutdown");
404 * executor has been shutdown).
408 * locking overhead on each task submission in order to implement shutdown
422 * Finally, a call to {@code shutdown} or {@code shutdownNow} may result
539 public void shutdown() {
540 delegate.shutdown();
920 * <li>calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks.
944 service.shutdown();