Lines Matching refs:future
56 final ListenableFuture<T> future = callDependencyMethod(); in get() local
57 if (!future.isDone() && futures.add(future)) { in get()
58 future.addListener( in get()
63 futures.remove(future); in get()
69 return future; in get()
77 for (ListenableFuture<T> future : futures) { in cancel()
80 future.cancel(mayInterruptIfRunning); in cancel()
99 final ListenableFuture<T> future = DependencyMethodProducer.this.get(); in newEntryPointView() local
100 if (!future.isDone() && entryPointFutures.add(future)) { in newEntryPointView()
101 future.addListener( in newEntryPointView()
105 entryPointFutures.remove(future); in newEntryPointView()
106 if (future.isCancelled()) { in newEntryPointView()
115 return future; in newEntryPointView()