public final class CompositeNotifyingFuture<T> extends NotifyingFutureImpl<List<T>>
| Constructor and Description |
|---|
CompositeNotifyingFuture(List<NotifyingFuture<T>> futures) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
List<T> |
get() |
List<T> |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
getFuture, notifyDone, notifyException, setFutureattachListener, fireListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachListenerpublic CompositeNotifyingFuture(List<NotifyingFuture<T>> futures)
public boolean isDone()
public boolean isCancelled()
isCancelled in interface Future<List<T>>isCancelled in class NotifyingFutureImpl<List<T>>public boolean cancel(boolean mayInterruptIfRunning)
public List<T> get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<List<T>>get in class NotifyingFutureImpl<List<T>>InterruptedExceptionExecutionExceptionTimeoutExceptionpublic List<T> get() throws InterruptedException, ExecutionException
get in interface Future<List<T>>get in class NotifyingFutureImpl<List<T>>InterruptedExceptionExecutionExceptionCopyright © 2017 JBoss, a division of Red Hat. All rights reserved.