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 boolean
cancel(boolean mayInterruptIfRunning)
Void
get()
Void
get(long timeout, TimeUnit unit)
boolean
isCancelled()
boolean
isDone()
-
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceFuture<Void>
-
get
public Void get() throws InterruptedException, ExecutionException
- Specified by:
get
in interfaceFuture<Void>
- Throws:
InterruptedException
ExecutionException
-
get
public Void get(long timeout, @NotNull TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
get
in interfaceFuture<Void>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
-