/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ExecutorService.java | 23 * shutting down an {@code ExecutorService}. The {@link #shutdown} 67 * pool.shutdown(); 81 * first by calling {@code shutdown} to reject incoming tasks, and then 86 * pool.shutdown(); // Disable new tasks from being submitted 116 * Initiates an orderly shutdown in which previously submitted 124 void shutdown(); method in interface:ExecutorService 154 * either {@code shutdown} or {@code shutdownNow} was called first. 161 * Blocks until all tasks have completed execution after a shutdown
|
H A D | Executors.java | 57 * prior to shutdown, a new one will take its place if needed to 59 * until it is explicitly {@link ExecutorService#shutdown shutdown}. 117 * execution prior to shutdown, a new one will take its place if 119 * exist until it is explicitly {@link ExecutorService#shutdown 120 * shutdown}. 139 * shutdown, a new one will take its place if needed to execute 220 * shutdown, a new one will take its place if needed to execute 237 * during execution prior to shutdown, a new one will take its 592 public void shutdown() { method in class:Executors.DelegatedExecutorService [all...] |
H A D | ArrayBlockingQueue.java | 727 * correctness, iterators have the shutdown and takeIndexWrapped 910 it.shutdown(); 1205 void shutdown() { method in class:ArrayBlockingQueue.Itr 1297 shutdown();
|
H A D | ScheduledThreadPoolExecutor.java | 119 * 3. Supporting optional run-after-shutdown parameters, which 120 * leads to overrides of shutdown methods to remove and cancel 121 * tasks that should NOT be run after shutdown, as well as 123 * with a shutdown. 132 * False if should cancel/suppress periodic tasks on shutdown. 137 * False if should cancel non-periodic tasks on shutdown. 282 * and run-after-shutdown parameters. 299 * run-after-shutdown parameters. 335 * due to shutdown policy. Invoked within super.shutdown 762 public void shutdown() { method in class:ScheduledThreadPoolExecutor [all...] |
H A D | ThreadPoolExecutor.java | 97 * take effect in a timely manner, and a shutdown pool may remain in a 253 * has no remaining threads will be {@code shutdown} automatically. If 255 * if users forget to call {@link #shutdown}, then you must arrange 347 * On invocation of shutdown(), perhaps implicitly in finalize() 441 * unnecessary interrupt storms, especially during shutdown. 445 * also hold mainLock on shutdown and shutdownNow, for the sake of 494 * will want to perform clean pool shutdown to clean up. There 501 * Handler called when saturated or shutdown in execute. 540 * Permission required for callers of shutdown and shutdownNow. 551 * silently fail. In the case of shutdown, the 1373 public void shutdown() { method in class:ThreadPoolExecutor [all...] |
H A D | ForkJoinPool.java | 463 * so repeatedly until stable. Calls to non-abrupt shutdown() 472 * helpQuiescePool is called when shutdown is enabled. Both wait 626 * shutdown. 1471 * Instantiates fields upon first submission, or upon shutdown if 1791 * Possibly triggers shutdown and tries (once) to block worker 2384 if (!enable || this == common) // cannot shutdown 2680 * #shutdown} or {@link #shutdownNow}. However this pool and any 3119 * Possibly initiates an orderly shutdown in which previously 3132 public void shutdown() { method in class:ForkJoinPool 3174 * period after shutdown ma [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Shutdown.java | 32 * governing the virtual-machine shutdown sequence. 50 // The system shutdown hooks are registered with a predefined slot. 51 // The list of shutdown hooks is as follows: 58 // the index of the currently running shutdown hook to the hooks array 77 * Add a new shutdown hook. Checks the shutdown state and the hook itself, 82 * be added to the delete on exit list by the application shutdown 85 * @param slot the slot in the shutdown hook array, whose element 86 * will be invoked in order during shutdown 88 * to be registered even if the shutdown i 225 static void shutdown() { method in class:Shutdown [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | SocketTest.java | 269 server.shutdown(); 288 server.shutdown(); 482 public void shutdown() throws IOException { method in class:SocketTest.MockServer 484 executor.shutdown();
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | SamplingProfiler.java | 53 * profiler.shutdown(); 314 public void shutdown() { method in class:SamplingProfiler
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | AbstractExecutorServiceTest.java | 51 public void shutdown() { shutdown = true; } method in class:AbstractExecutorServiceTest.DirectExecutorService 53 shutdown = true; 56 public boolean isShutdown() { return shutdown; } 61 private volatile boolean shutdown = false; field in class:AbstractExecutorServiceTest.DirectExecutorService
|
/libcore/support/src/test/java/tests/http/ |
H A D | MockWebServer.java | 208 executor.shutdown(); 210 logger.log(Level.WARNING, "MockWebServer executor shutdown failed", e); 235 public void shutdown() throws IOException { method in class:MockWebServer 282 shutdown();
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Net.java | 491 static native void shutdown(FileDescriptor fd, int how) throws IOException; method in class:Net
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 484 * See <a href="http://man7.org/linux/man-pages/man2/shutdown.2.html">shutdown(2)</a>. 486 public static void shutdown(FileDescriptor fd, int how) throws ErrnoException { Libcore.os.shutdown(fd, how); } method in class:Os
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ForwardingOs.java | 160 public void shutdown(FileDescriptor fd, int how) throws ErrnoException { os.shutdown(fd, how); } method in class:ForwardingOs
|
H A D | Os.java | 153 public void shutdown(FileDescriptor fd, int how) throws ErrnoException; method in interface:Os
|
H A D | Posix.java | 237 public native void shutdown(FileDescriptor fd, int how) throws ErrnoException; method in class:Posix
|