Class SequencedFuture<V>
java.lang.Object
com.hierynomus.protocol.commons.concurrent.AFuture<List<V>>
com.hierynomus.protocol.commons.concurrent.SequencedFuture<V>
SequencedFuture transforms a
List<Future<V>>
into a Future<List<V>>
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.hierynomus.protocol.commons.concurrent.AFuture
AFuture.Function<A,
B> Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Field Details
-
futures
-
-
Constructor Details
-
SequencedFuture
-
-
Method Details
-
isCancelled
public boolean isCancelled() -
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isDone
public boolean isDone() -
get
-
get
public List<V> get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
-