/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ThreadPool.java | 43 private final ExecutorService executor; field in ThreadPool 52 private ThreadPool(ExecutorService executor, in ThreadPool() 61 ExecutorService executor() { in executor() method in ThreadPool 121 ExecutorService executor = Executors.newCachedThreadPool(threadFactory); in createDefault() local 129 ExecutorService executor = Executors.newFixedThreadPool(nThreads, factory); in create() local 134 public static ThreadPool wrap(ExecutorService executor, int initialSize) { in wrap()
|
D | AsynchronousFileChannelImpl.java | 55 protected final ExecutorService executor; field in AsynchronousFileChannelImpl 60 ExecutorService executor) in AsynchronousFileChannelImpl() 68 final ExecutorService executor() { in executor() method in AsynchronousFileChannelImpl
|
D | LinuxAsynchronousChannelProvider.java | 61 …public AsynchronousChannelGroup openAsynchronousChannelGroup(ExecutorService executor, int initial… in openAsynchronousChannelGroup()
|
D | AsynchronousChannelGroupImpl.java | 91 final ExecutorService executor() { in executor() method in AsynchronousChannelGroupImpl
|
D | SimpleAsynchronousFileChannelImpl.java | 60 ExecutorService executor) in SimpleAsynchronousFileChannelImpl() 71 ExecutorService executor = (pool == null) ? in open() local
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 205 Executor executor); in thenApplyAsync() 250 Executor executor); in thenAcceptAsync() 291 Executor executor); in thenRunAsync() 352 Executor executor); in thenCombineAsync() 410 Executor executor); in thenAcceptBothAsync() 458 Executor executor); in runAfterBothAsync() 515 Executor executor); in applyToEitherAsync() 570 Executor executor); in acceptEitherAsync() 621 Executor executor); in runAfterEitherAsync() 699 Executor executor); in thenComposeAsync() [all …]
|
D | ExecutorCompletionService.java | 107 private final Executor executor; field in ExecutorCompletionService 148 public ExecutorCompletionService(Executor executor) { in ExecutorCompletionService() 170 public ExecutorCompletionService(Executor executor, in ExecutorCompletionService()
|
D | RejectedExecutionHandler.java | 61 void rejectedExecution(Runnable r, ThreadPoolExecutor executor); in rejectedExecution()
|
D | CompletableFuture.java | 518 Executor executor; // executor to use (null if none) field in CompletableFuture.UniCompletion 522 UniCompletion(Executor executor, CompletableFuture<V> dep, in UniCompletion() 579 UniApply(Executor executor, CompletableFuture<V> dep, in UniApply() 635 UniAccept(Executor executor, CompletableFuture<Void> dep, in UniAccept() 690 UniRun(Executor executor, CompletableFuture<Void> dep, in UniRun() 738 UniWhenComplete(Executor executor, CompletableFuture<T> dep, in UniWhenComplete() 801 UniHandle(Executor executor, CompletableFuture<V> dep, in UniHandle() 954 UniCompose(Executor executor, CompletableFuture<V> dep, in UniCompose() 1044 BiCompletion(Executor executor, CompletableFuture<V> dep, in BiCompletion() 1097 BiApply(Executor executor, CompletableFuture<V> dep, in BiApply() [all …]
|
D | Executors.java | 322 public static ExecutorService unconfigurableExecutorService(ExecutorService executor) { in unconfigurableExecutorService() 338 …cheduledExecutorService unconfigurableScheduledExecutorService(ScheduledExecutorService executor) { in unconfigurableScheduledExecutorService()
|
/libcore/ojluni/annotations/mmodule/java/util/concurrent/ |
D | CompletableFuture.annotated.java | 48 …<U> supplyAsync(java.util.function.Supplier<U> supplier, java.util.concurrent.Executor executor) {… in supplyAsync() 52 …re<java.lang.Void> runAsync(java.lang.Runnable runnable, java.util.concurrent.Executor executor) {… in runAsync() 74 …c(java.util.function.Function<? super T,? extends U> fn, java.util.concurrent.Executor executor) {… in thenApplyAsync() 80 …ceptAsync(java.util.function.Consumer<? super T> action, java.util.concurrent.Executor executor) {… in thenAcceptAsync() 86 …<java.lang.Void> thenRunAsync(java.lang.Runnable action, java.util.concurrent.Executor executor) {… in thenRunAsync() 92 …function.BiFunction<? super T,? super U,? extends V> fn, java.util.concurrent.Executor executor) {… in thenCombineAsync() 98 …va.util.function.BiConsumer<? super T,? super U> action, java.util.concurrent.Executor executor) {… in thenAcceptBothAsync() 104 …ent.CompletionStage<?> other, java.lang.Runnable action, java.util.concurrent.Executor executor) {… in runAfterBothAsync() 110 …s T> other, java.util.function.Function<? super T,U> fn, java.util.concurrent.Executor executor) {… in applyToEitherAsync() 116 …T> other, java.util.function.Consumer<? super T> action, java.util.concurrent.Executor executor) {… in acceptEitherAsync() [all …]
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousChannelGroup.java | 228 public static AsynchronousChannelGroup withCachedThreadPool(ExecutorService executor, in withCachedThreadPool() 269 public static AsynchronousChannelGroup withThreadPool(ExecutorService executor) in withThreadPool()
|
D | AsynchronousFileChannel.java | 243 ExecutorService executor, in open()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | Executors.java | 102 java.util.concurrent.ExecutorService executor) { in unconfigurableExecutorService() 108 java.util.concurrent.ScheduledExecutorService executor) { in unconfigurableScheduledExecutorService() 189 DelegatedExecutorService(java.util.concurrent.ExecutorService executor) { in DelegatedExecutorService() 271 DelegatedScheduledExecutorService(java.util.concurrent.ScheduledExecutorService executor) { in DelegatedScheduledExecutorService() 315 FinalizableDelegatedExecutorService(java.util.concurrent.ExecutorService executor) { in FinalizableDelegatedExecutorService()
|
/libcore/luni/src/test/java/tests/security/ |
D | SecureRandomTest.java | 79 ExecutorService executor = Executors.newFixedThreadPool(threads); in testSecureRandomThreadSafety() local
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 78 ExecutorService executor = Executors.newFixedThreadPool(2); in connect() local
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | DeflaterOutputStreamTest.java | 76 ExecutorService executor = Executors.newSingleThreadExecutor(); in createInflaterStream() local
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | ReferenceQueueTest.java | 146 final ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1); in runLater() local
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 168 ExecutorService executor = Executors.newSingleThreadExecutor(); in bind_loopback() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | WriterTesterTest.java | 109 private ExecutorService executor; field in WriterTesterTest.PipedWriterCharSinkTester
|
D | OutputStreamTesterTest.java | 116 private ExecutorService executor; field in OutputStreamTesterTest.PipedOutputStreamSinkTester
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LinkedBlockingQueueTest.java | 731 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local 755 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
|
D | LinkedTransferQueueTest.java | 604 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local 630 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | LinkedTransferQueueTest.java | 621 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local 647 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
|
D | LinkedBlockingQueueTest.java | 761 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local 785 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
|