Home
last modified time | relevance | path

Searched refs:ThreadPoolExecutor (Results 1 – 15 of 15) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java32 import java.util.concurrent.ThreadPoolExecutor;
50 static class ExtendedTPE extends ThreadPoolExecutor {
91 final ThreadPoolExecutor p = in testExecute()
92 new ThreadPoolExecutor(1, 1, in testExecute()
110 final ThreadPoolExecutor p = in testGetActiveCount()
111 new ThreadPoolExecutor(2, 2, in testGetActiveCount()
132 final ThreadPoolExecutor p = in testPrestartCoreThread()
133 new ThreadPoolExecutor(2, 6, in testPrestartCoreThread()
158 final ThreadPoolExecutor p = in testPrestartAllCoreThreads()
159 new ThreadPoolExecutor(2, 6, in testPrestartAllCoreThreads()
[all …]
DThreadPoolExecutorSubclassTest.java32 import java.util.concurrent.ThreadPoolExecutor;
152 static class CustomTPE extends ThreadPoolExecutor {
238 final ThreadPoolExecutor p = in testExecute()
257 final ThreadPoolExecutor p = in testGetActiveCount()
279 final ThreadPoolExecutor p = in testPrestartCoreThread()
305 final ThreadPoolExecutor p = in testPrestartAllCoreThreads()
328 final ThreadPoolExecutor p = in testGetCompletedTaskCount()
361 final ThreadPoolExecutor p = in testGetCorePoolSize()
374 final ThreadPoolExecutor p = in testGetKeepAliveTime()
388 final ThreadPoolExecutor p = in testGetThreadFactory()
[all …]
DExecutorCompletionServiceTest.java21 import java.util.concurrent.ThreadPoolExecutor;
168 new ThreadPoolExecutor(1, 1, in testNewTaskForCallable()
199 new ThreadPoolExecutor(1, 1, in testNewTaskForRunnable()
DAbstractExecutorServiceTest.java27 import java.util.concurrent.ThreadPoolExecutor;
206 = new ThreadPoolExecutor(1,1,60, TimeUnit.SECONDS, in testInterruptedSubmit()
227 final ThreadPoolExecutor p = in testSubmitEE()
228 new ThreadPoolExecutor(1, 1, in testSubmitEE()
DExecutorsTest.java26 import java.util.concurrent.ThreadPoolExecutor;
117 ThreadPoolExecutor tpe = (ThreadPoolExecutor)e; in testCastNewSingleThreadExecutor()
DScheduledExecutorSubclassTest.java31 import java.util.concurrent.ThreadPoolExecutor;
397 final ThreadPoolExecutor p = new CustomExecutor(2); in testGetActiveCount()
417 final ThreadPoolExecutor p = new CustomExecutor(2); in testGetCompletedTaskCount()
460 final ThreadPoolExecutor p = new CustomExecutor(THREADS); in testGetLargestPoolSize()
483 final ThreadPoolExecutor p = new CustomExecutor(1); in testGetPoolSize()
505 final ThreadPoolExecutor p = new CustomExecutor(1); in testGetTaskCount()
587 final ThreadPoolExecutor p = new CustomExecutor(1); in testIsTerminated()
611 final ThreadPoolExecutor p = new CustomExecutor(1); in testIsTerminating()
DScheduledExecutorTest.java30 import java.util.concurrent.ThreadPoolExecutor;
361 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(2); in testGetCompletedTaskCount()
391 ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1); in testGetCorePoolSize()
403 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(THREADS); in testGetLargestPoolSize()
426 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1); in testGetPoolSize()
449 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1); in testGetTaskCount()
534 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1); in testIsTerminated()
558 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1); in testIsTerminating()
DJSR166TestCase.java52 import java.util.concurrent.ThreadPoolExecutor;
1707 ThreadPoolExecutor executor) {}
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DThreadPoolExecutorTest.java22 import java.util.concurrent.ThreadPoolExecutor;
29 ThreadPoolExecutor tp = new ThreadPoolExecutor( in testCorePoolSizeGreaterThanMax()
/libcore/ojluni/src/main/java/sun/nio/ch/
DThreadPool.java106 new ThreadPoolExecutor(0, Integer.MAX_VALUE, in createDefault()
126 if (executor instanceof ThreadPoolExecutor) { in wrap()
127 int max = ((ThreadPoolExecutor)executor).getMaximumPoolSize(); in wrap()
/libcore/luni/src/main/java/java/util/concurrent/
DExecutors.java66 return new ThreadPoolExecutor(nThreads, nThreads, in newFixedThreadPool()
129 return new ThreadPoolExecutor(nThreads, nThreads, in newFixedThreadPool()
150 (new ThreadPoolExecutor(1, 1, in newSingleThreadExecutor()
171 (new ThreadPoolExecutor(1, 1, in newSingleThreadExecutor()
194 return new ThreadPoolExecutor(0, Integer.MAX_VALUE, in newCachedThreadPool()
209 return new ThreadPoolExecutor(0, Integer.MAX_VALUE, in newCachedThreadPool()
DRejectedExecutionHandler.java32 void rejectedExecution(Runnable r, ThreadPoolExecutor executor); in rejectedExecution()
DThreadPoolExecutor.java309 public class ThreadPoolExecutor extends AbstractExecutorService { class
1181 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() method in ThreadPoolExecutor
1215 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() method in ThreadPoolExecutor
1250 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() method in ThreadPoolExecutor
1287 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() method in ThreadPoolExecutor
2024 public void rejectedExecution(Runnable r, ThreadPoolExecutor e) { in rejectedExecution()
2048 public void rejectedExecution(Runnable r, ThreadPoolExecutor e) { in rejectedExecution()
2071 public void rejectedExecution(Runnable r, ThreadPoolExecutor e) { in rejectedExecution()
2095 public void rejectedExecution(Runnable r, ThreadPoolExecutor e) { in rejectedExecution()
DScheduledThreadPoolExecutor.java102 extends ThreadPoolExecutor
/libcore/
Dnon_openjdk_java_files.mk140 luni/src/main/java/java/util/concurrent/ThreadPoolExecutor.java \