Searched defs:shutdown (Results 1 - 16 of 16) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutorService.java23 * 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 DExecutors.java57 * 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 DArrayBlockingQueue.java727 * correctness, iterators have the shutdown and takeIndexWrapped
910 it.shutdown();
1205 void shutdown() { method in class:ArrayBlockingQueue.Itr
1297 shutdown();
H A DScheduledThreadPoolExecutor.java119 * 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 DThreadPoolExecutor.java97 * 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 DForkJoinPool.java463 * 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 DShutdown.java32 * 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 DSocketTest.java269 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 DSamplingProfiler.java53 * profiler.shutdown();
314 public void shutdown() { method in class:SamplingProfiler
/libcore/jsr166-tests/src/test/java/jsr166/
H A DAbstractExecutorServiceTest.java51 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 DMockWebServer.java208 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 DNet.java491 static native void shutdown(FileDescriptor fd, int how) throws IOException; method in class:Net
/libcore/luni/src/main/java/android/system/
H A DOs.java484 * 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 DForwardingOs.java160 public void shutdown(FileDescriptor fd, int how) throws ErrnoException { os.shutdown(fd, how); } method in class:ForwardingOs
H A DOs.java153 public void shutdown(FileDescriptor fd, int how) throws ErrnoException; method in interface:Os
H A DPosix.java237 public native void shutdown(FileDescriptor fd, int how) throws ErrnoException; method in class:Posix

Completed in 1379 milliseconds