Searched refs:shutdownNow (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutorService.java25 * terminating, while the {@link #shutdownNow} method prevents waiting
82 * calling {@code shutdownNow}, if necessary, to cancel any lingering tasks:
90 * pool.shutdownNow(); // Cancel currently executing tasks
97 * pool.shutdownNow();
142 List<Runnable> shutdownNow(); method in interface:ExecutorService
154 * either {@code shutdown} or {@code shutdownNow} was called first.
H A DExecutors.java593 public List<Runnable> shutdownNow() { return e.shutdownNow(); } method in class:Executors.DelegatedExecutorService
H A DScheduledThreadPoolExecutor.java609 * {@code shutdownNow} will access the zero-delayed
658 * {@code shutdownNow} or after setting the policy to
675 * {@code shutdownNow} or after setting the policy to
690 * {@code shutdownNow}, or after setting the policy to
707 * {@code shutdownNow}, or after setting the policy to
790 public List<Runnable> shutdownNow() { method in class:ScheduledThreadPoolExecutor
791 return super.shutdownNow();
H A DThreadPoolExecutor.java349 * On invocation of shutdownNow()
445 * also hold mainLock on shutdown and shutdownNow, for the sake of
540 * Permission required for callers of shutdown and shutdownNow.
1123 // shutdownNow race while clearing interrupt
1403 public List<Runnable> shutdownNow() { method in class:ThreadPoolExecutor
1425 * after {@link #shutdown} or {@link #shutdownNow} but has not
H A DForkJoinPool.java458 * Shutdown and Termination. A call to shutdownNow invokes
2680 * #shutdown} or {@link #shutdownNow}. However this pool and any
3155 public List<Runnable> shutdownNow() { method in class:ForkJoinPool
/libcore/jsr166-tests/src/test/java/jsr166/
H A DForkJoinPoolTest.java294 p.shutdownNow(); // failure might have prevented processing task
379 p.shutdownNow(); // don't wait out shutdown
H A DAbstractExecutorServiceTest.java52 public List<Runnable> shutdownNow() { method in class:AbstractExecutorServiceTest.DirectExecutorService
H A DScheduledExecutorSubclassTest.java716 * shutdownNow returns a list containing tasks that were not run,
739 queuedTasks = p.shutdownNow();
753 * shutdownNow returns a list containing tasks that were not run,
769 queuedTasks = p.shutdownNow();
H A DScheduledExecutorTest.java664 * shutdownNow returns a list containing tasks that were not run,
688 queuedTasks = p.shutdownNow();
702 * shutdownNow returns a list containing tasks that were not run,
718 queuedTasks = p.shutdownNow();
H A DJSR166TestCase.java917 pool.shutdownNow();
H A DForkJoinPool8Test.java54 ForkJoinPool.commonPool().shutdownNow();
H A DThreadPoolExecutorSubclassTest.java761 * shutdownNow returns a list containing tasks that were not run,
787 queuedTasks = p.shutdownNow();
H A DThreadPoolExecutorTest.java646 * shutdownNow returns a list containing tasks that were not run,
672 queuedTasks = p.shutdownNow();
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java1843 executorService.shutdownNow();

Completed in 205 milliseconds