Package jetbrains.buildServer.util
Class CompositeFuture
- java.lang.Object
-
- jetbrains.buildServer.util.CompositeFuture
-
-
Constructor Summary
Constructors Constructor Description CompositeFuture(List<Future<?>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Voidget()Voidget(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()
-
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<Void>
-
get
public Void get() throws InterruptedException, ExecutionException
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionException
-
get
public Void get(long timeout, @NotNull TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
getin interfaceFuture<Void>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
-