| Constructor and Description |
|---|
ClientArrayFuture(Collection<Future<Void>> futures) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
Void |
get() |
Void |
get(long timeout,
TimeUnit unit) |
Collection<Future<Void>> |
getFutures() |
boolean |
isAllDone() |
boolean |
isAnyDone() |
boolean |
isCancelled() |
boolean |
isDone() |
public ClientArrayFuture(Collection<Future<Void>> futures)
public Collection<Future<Void>> getFutures()
public Void get(long timeout, TimeUnit unit) throws CancellationException, ExecutionException, InterruptedException, TimeoutException
get in interface Future<Void>CancellationExceptionExecutionExceptionInterruptedExceptionTimeoutExceptionpublic Void get() throws CancellationException, ExecutionException, InterruptedException
get in interface Future<Void>CancellationExceptionExecutionExceptionInterruptedExceptionpublic boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Void>public boolean isAnyDone()
public boolean isAllDone()
Copyright © 2023. All rights reserved.