Searched defs:newTaskFor (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DAbstractExecutorService.java43 * {@link RunnableFuture} returned by <tt>newTaskFor</tt>, which defaults
47 * returned. Subclasses may override the <tt>newTaskFor</tt> methods
59 * protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) {
62 * protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) {
85 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { method in class:AbstractExecutorService
99 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { method in class:AbstractExecutorService
109 RunnableFuture<Void> ftask = newTaskFor(task, null);
120 RunnableFuture<T> ftask = newTaskFor(task, result);
131 RunnableFuture<T> ftask = newTaskFor(task);
236 RunnableFuture<T> f = newTaskFor(
[all...]
H A DExecutorCompletionService.java124 private RunnableFuture<V> newTaskFor(Callable<V> task) { method in class:ExecutorCompletionService
128 return aes.newTaskFor(task);
131 private RunnableFuture<V> newTaskFor(Runnable task, V result) { method in class:ExecutorCompletionService
135 return aes.newTaskFor(task, result);
180 RunnableFuture<V> f = newTaskFor(task);
187 RunnableFuture<V> f = newTaskFor(task, result);
H A DForkJoinPool.java2125 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { method in class:ForkJoinPool
2129 protected <T> RunnableFuture<T> newTaskFor(Callable<T> callable) { method in class:ForkJoinPool
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DCustom.java57 protected <V> RunnableFuture<V> newTaskFor(Callable<V> c) { method in class:Custom.CustomTPE
60 protected <V> RunnableFuture<V> newTaskFor(Runnable r, V v) { method in class:Custom.CustomTPE

Completed in 54 milliseconds