Execute f
, returning a Future that represents the outcome.
Execute f
, returning a Future that represents the outcome.
The approximate number of tasks actively executing.
The approximate number of tasks actively executing.
-1 if this FuturePool implementation doesn't support this statistic.
The approximate number of tasks that have completed execution.
The approximate number of tasks that have completed execution.
-1 if this FuturePool implementation doesn't support this statistic.
The approximate size of the pool.
The approximate size of the pool.
While this is implementation specific, this often represents the number of threads in the pool.
-1 if this FuturePool implementation doesn't support this statistic.
A FuturePool backed by a
java.util.concurrent.ExecutorService
that supports cancellation.