Searched refs:ThreadPoolExecutor (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DRejectedExecutionHandler.java10 * A handler for tasks that cannot be executed by a {@link ThreadPoolExecutor}.
18 * Method that may be invoked by a {@link ThreadPoolExecutor} when
19 * {@link ThreadPoolExecutor#execute execute} cannot accept a
32 void rejectedExecution(Runnable r, ThreadPoolExecutor executor);
H A DExecutors.java61 return new ThreadPoolExecutor(nThreads, nThreads,
86 return new ThreadPoolExecutor(nThreads, nThreads,
107 (new ThreadPoolExecutor(1, 1,
128 (new ThreadPoolExecutor(1, 1,
146 * may be created using {@link ThreadPoolExecutor} constructors.
151 return new ThreadPoolExecutor(0, Integer.MAX_VALUE,
166 return new ThreadPoolExecutor(0, Integer.MAX_VALUE,
H A DThreadPoolExecutor.java26 * Each {@code ThreadPoolExecutor} also maintains some basic
45 * <dd>A {@code ThreadPoolExecutor} will automatically adjust the
179 * <li> In the default {@link ThreadPoolExecutor.AbortPolicy}, the
183 * <li> In {@link ThreadPoolExecutor.CallerRunsPolicy}, the thread
188 * <li> In {@link ThreadPoolExecutor.DiscardPolicy}, a task that
191 * <li>In {@link ThreadPoolExecutor.DiscardOldestPolicy}, if the
243 * class PausableThreadPoolExecutor extends ThreadPoolExecutor {
285 public class ThreadPoolExecutor extends AbstractExecutorService { class in inherits:AbstractExecutorService
1105 * Creates a new {@code ThreadPoolExecutor} with the given initial
1128 public ThreadPoolExecutor(in method in class:ThreadPoolExecutor
1162 public ThreadPoolExecutor(int corePoolSize, method in class:ThreadPoolExecutor
1197 public ThreadPoolExecutor(int corePoolSize, method in class:ThreadPoolExecutor
1234 public ThreadPoolExecutor(int corePoolSize, method in class:ThreadPoolExecutor
[all...]
H A DScheduledThreadPoolExecutor.java20 * A {@link ThreadPoolExecutor} that can additionally schedule
24 * flexibility or capabilities of {@link ThreadPoolExecutor} (which
47 * <p>While this class inherits from {@link ThreadPoolExecutor}, a few
57 * {@link ThreadPoolExecutor#execute execute} and
95 extends ThreadPoolExecutor
99 * This class specializes ThreadPoolExecutor implementation by
111 * (see delayedExecute) compared to ThreadPoolExecutor.
582 * that {@link ThreadPoolExecutor#afterExecute afterExecute} is always
/libcore/luni/src/main/java/libcore/io/
H A DDiskLruCache.java43 import java.util.concurrent.ThreadPoolExecutor;
160 private final ExecutorService executorService = new ThreadPoolExecutor(0, 1,

Completed in 91 milliseconds