HomeSort by relevance Sort by last modified time
    Searched full:futures (Results 1 - 25 of 34) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/concurrent/
AbstractExecutorService.java 122 List<Future<T>> futures= new ArrayList<Future<T>>(ntasks); local
140 futures.add(ecs.submit(it.next()));
149 futures.add(ecs.submit(it.next()));
184 for (Future<T> f : futures)
209 List<Future<T>> futures = new ArrayList<Future<T>>(tasks.size()); local
214 futures.add(f);
217 for (Future<T> f : futures) {
227 return futures;
230 for (Future<T> f : futures)
241 List<Future<T>> futures = new ArrayList<Future<T>>(tasks.size()) local
    [all...]
ExecutorCompletionService.java 53 * List<Future<Result>> futures
58 * futures.add(ecs.submit(s));
70 * for (Future<Result> f : futures)
ExecutorService.java 240 * Executes the given tasks, returning a list of Futures holding
250 * @return A list of Futures representing the tasks, in the same
264 * Executes the given tasks, returning a list of Futures holding
278 * @return a list of Futures representing the tasks, in the same
  /libcore/luni/src/test/java/tests/api/java/util/concurrent/
AbstractExecutorServiceTest.java 411 List<Future<String>> futures = e.invokeAll(l); local
412 assertEquals(1, futures.size());
414 futures.get(0).get();
433 List<Future<String>> futures = e.invokeAll(l); local
434 assertEquals(2, futures.size());
435 for (Future<String> future : futures)
606 List<Future<String>> futures = local
608 assertEquals(1, futures.size());
610 futures.get(0).get();
629 List<Future<String>> futures local
649 List<Future<String>> futures = local
    [all...]
ScheduledExecutorSubclassTest.java 808 List<Future<String>> futures = e.invokeAll(l);
809 assertEquals(1, futures.size());
811 futures.get(0).get();
829 List<Future<String>> futures = e.invokeAll(l);
830 assertEquals(2, futures.size());
831 for (Future<String> future : futures)
    [all...]
ScheduledExecutorTest.java 759 List<Future<String>> futures = e.invokeAll(l);
760 assertEquals(1, futures.size());
762 futures.get(0).get();
780 List<Future<String>> futures = e.invokeAll(l);
781 assertEquals(2, futures.size());
782 for (Future<String> future : futures)
952 List<Future<String>> futures
    [all...]
ThreadPoolExecutorSubclassTest.java 1269 List<Future<String>> futures = e.invokeAll(l); local
1290 List<Future<String>> futures = e.invokeAll(l); local
1464 List<Future<String>> futures = local
1486 List<Future<String>> futures = local
1506 List<Future<String>> futures = local
    [all...]
ThreadPoolExecutorTest.java 1139 List<Future<String>> futures = e.invokeAll(l); local
1161 List<Future<String>> futures = e.invokeAll(l); local
1335 List<Future<String>> futures = local
1357 List<Future<String>> futures = local
1377 List<Future<String>> futures = local
    [all...]
  /external/guava/javadoc/com/google/common/util/concurrent/class-use/
Futures.html 7 Uses of Class com.google.common.util.concurrent.Futures (Guava Libraries 2010.01.04)
18 parent.document.title="Uses of Class com.google.common.util.concurrent.Futures (Guava Libraries 2010.01.04)";
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/google/common/util/concurrent/Futures.html" title="class in com.google.common.util.concurrent"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
62 &nbsp;<A HREF="Futures.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
84 <B>Uses of Class<br>com.google.common.util.concurrent.Futures</B></H2>
86 No usage of com.google.common.util.concurrent.Futures
102 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../com/google/common/util/concurrent/Futures.html" title="class in com.google.common.util.concurrent"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
122 &nbsp;<A HREF="Futures.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
ListenableFuture.html 200 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#chain(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function)">chain</A></B>(<A HREF="../../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;input,
217 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#chain(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function, java.util.concurrent.Executor)">chain</A></B>(<A HREF="../../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;input,
235 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#compose(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function)">compose</A></B>(<A HREF="../../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;future,
252 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#compose(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function, java.util.concurrent.Executor)">compose</A></B>(<A HREF="../../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;future,
270 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#immediateFailedFuture(java.lang.Throwable)">immediateFailedFuture</A></B>(<A HREF="http://jav (…)
    [all...]
CheckedFuture.html 142 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#immediateCheckedFuture(T)">immediateCheckedFuture</A></B>(T&nbsp;value)</CODE>
160 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#immediateFailedCheckedFuture(E)">immediateFailedCheckedFuture</A></B>(E&nbsp;exception)</CODE>
178 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#makeChecked(java.util.concurrent.Future, com.google.common.base.Function)">makeChecked</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</A>&lt;T&gt;&nbsp;future,
UninterruptibleFuture.html 123 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../../com/google/common/util/concurrent/Futures.html#makeUninterruptible(java.util.concurrent.Future)">makeUninterruptible</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</A>&lt;V&gt;&nbsp;future)</CODE>
  /external/guava/src/com/google/common/util/concurrent/
UninterruptibleFuture.java 29 * Futures#makeUninterruptible(Future)}.
Futures.java 42 public class Futures {
43 private Futures() {}
165 return Futures.makeChecked(future, new Function<Exception, E>() {
206 return makeChecked(Futures.<T>immediateFailedFuture(exception),
249 * RPC-based Futures.
299 * RPC-based Futures.
SimpleTimeLimiter.java 130 Future<T> uninterruptible = Futures.makeUninterruptible(future);
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 62 // keep Futures around so we can rethrow any exceptions thrown by Callables
63 private final Queue<Future<?>> futures = new LinkedList<Future<?>>(); field in class:MockWebServer
186 futures.add(future);
195 final int originalSize = futures.size();
197 Future<?> future = futures.remove();
201 futures.add(future); // still running
  /packages/providers/DownloadProvider/tests/src/tests/http/
MockWebServer.java 58 // keep Futures around so we can rethrow any exceptions thrown by Callables
59 private final Queue<Future<?>> futures = new LinkedList<Future<?>>(); field in class:MockWebServer
168 futures.add(future);
177 final int originalSize = futures.size();
179 Future<?> future = futures.remove();
183 futures.add(future); // still running
  /external/guava/javadoc/com/google/common/util/concurrent/
Futures.html 7 Futures (Guava Libraries 2010.01.04)
18 parent.document.title="Futures (Guava Libraries 2010.01.04)";
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Futures.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
61 <A HREF="../../../../../index.html?com/google/common/util/concurrent/Futures.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="Futures.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
93 Class Futures</H2>
96 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.common.util.concurrent.Futures</B>
100 <DT><PRE>public class <B>Futures</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
136 <TD><CODE><B><A HREF="../../../../../com/google/common/util/concurrent/Futures.html#chain(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function)">chain</A></B>(<A HREF="../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;input,
153 <TD><CODE><B><A HREF="../../../../../com/google/common/util/concurrent/Futures.html#chain(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function, ja (…)
    [all...]
package-frame.html 69 <A HREF="Futures.html" title="class in com.google.common.util.concurrent" target="classFrame">Futures</A>
ListenableFuture.html 58 &nbsp;<A HREF="../../../../../com/google/common/util/concurrent/Futures.html" title="class in com.google.common.util.concurrent"><B>PREV CLASS</B></A>&nbsp;
238 &nbsp;<A HREF="../../../../../com/google/common/util/concurrent/Futures.html" title="class in com.google.common.util.concurrent"><B>PREV CLASS</B></A>&nbsp;
UninterruptibleFuture.html 106 thread. Obtain an instance of this type using <A HREF="../../../../../com/google/common/util/concurrent/Futures.html#makeUninterruptible(java.util.concurrent.Future)"><CODE>Futures.makeUninterruptible(Future)</CODE></A>.
package-summary.html 183 <TD WIDTH="15%"><B><A HREF="../../../../../com/google/common/util/concurrent/Futures.html" title="class in com.google.common.util.concurrent">Futures</A></B></TD>
package-tree.html 112 <LI TYPE="circle">com.google.common.util.concurrent.<A HREF="../../../../../com/google/common/util/concurrent/Futures.html" title="class in com.google.common.util.concurrent"><B>Futures</B></A><LI TYPE="circle">java.util.concurrent.<A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/FutureTask.html?is-external=true" title="class or interface in java.util.concurrent"><B>FutureTask</B></A>&lt;V&gt; (implements java.util.concurrent.<A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/RunnableFuture.html?is-external=true" title="class or interface in java.util.concurrent">RunnableFuture</A>&lt;V&gt;)
  /dalvik/vm/alloc/
HeapInternal.h 41 * potentially have finalization in their futures.
  /external/guava/javadoc/com/google/common/base/class-use/
Function.html 488 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../com/google/common/util/concurrent/Futures.html#chain(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function)">chain</A></B>(<A HREF="../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;input,
505 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../com/google/common/util/concurrent/Futures.html#chain(com.google.common.util.concurrent.ListenableFuture, com.google.common.base.Function, java.util.concurrent.Executor)">chain</A></B>(<A HREF="../../../../../com/google/common/util/concurrent/ListenableFuture.html" title="interface in com.google.common.util.concurrent">ListenableFuture</A>&lt;I&gt;&nbsp;input,
523 <TD><CODE><B>Futures.</B><B><A HREF="../../../../../com/google/common/util/concurrent/Futures.html#compose(java.util.concurrent.Future, com.google.common.base.Function)">compose</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</A>&lt;I&gt;&nbsp;future,
    [all...]

Completed in 510 milliseconds

1 2