- invokeAll(Collection<? extends Callable<T>>) - Method in interface java.util.concurrent.ExecutorService
-
Executes the given tasks, returning a list of Futures holding their status and results when all complete.
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in interface java.util.concurrent.ExecutorService
-
Executes the given tasks, returning a list of Futures holding their status and results when all complete or the
timeout expires, whichever happens first.
- invokeAny(Collection<? extends Callable<T>>) - Method in interface java.util.concurrent.ExecutorService
-
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an
exception), if any do.
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in interface java.util.concurrent.ExecutorService
-
Executes the given tasks, returning the result of one that has completed successfully (i.e., without throwing an
exception), if any do before the given timeout elapses.
- isCancelled() - Method in interface java.util.concurrent.Future
-
Returns true if this task was cancelled before it completed normally.
- isDone() - Method in interface java.util.concurrent.Future
-
Returns true if this task completed.
- isShutdown() - Method in interface java.util.concurrent.ExecutorService
-
Returns true if this executor has been shut down.
- isTerminated() - Method in interface java.util.concurrent.ExecutorService
-
Returns true if all tasks have completed following shut down.