Home | History | Annotate | Download | only in concurrent

Lines Matching defs:TERMINATED

134  * excess threads will be terminated if they have been idle for more
261 * Additionally, method {@link #terminated} can be overridden to perform
263 * fully terminated.
367 * TIDYING: All tasks have terminated, workerCount is zero,
369 terminated() hook method
370 * TERMINATED: terminated() has completed
384 * TIDYING -> TERMINATED
385 * When the terminated() hook method has completed
388 * state reaches TERMINATED.
408 private static final int TERMINATED = 3 << COUNT_BITS;
692 * (but not TIDYING or TERMINATED -- use tryTerminate for that)
705 * Transitions to TERMINATED state if either (SHUTDOWN and pool
731 terminated();
733 ctl.set(ctlOf(TERMINATED, 0));
1460 * completely terminated. This method may be useful for
1466 * @return {@code true} if terminating but not yet terminated
1470 return ! isRunning(c) && runStateLessThan(c, TERMINATED);
1474 return runStateAtLeast(ctl.get(), TERMINATED);
1483 while (!runStateAtLeast(ctl.get(), TERMINATED)) {
1551 * current value, excess existing threads will be terminated when
1641 * terminated due to lack of incoming tasks.
1656 * threads are never terminated due to lack of incoming
1683 * terminated when they next become idle.
1711 * that threads may remain idle before being terminated.
1713 * task will be terminated if there are more than the core
1739 * that threads may remain idle before being terminated.
1741 * task will be terminated if there are more than the core
1949 runStateAtLeast(c, TERMINATED) ? "Terminated" :
2030 * Method invoked when the Executor has terminated. Default
2033 * {@code super.terminated} within this method.
2035 protected void terminated() { }