Creates a new future pool. @param executor the executor used to schedule tasks. @return the new future pool.
(final ExecutorService executor)
| 45 | * @return the new future pool. |
| 46 | */ |
| 47 | public static FuturePool apply(final ExecutorService executor) { |
| 48 | return new FuturePool(executor); |
| 49 | } |
| 50 | |
| 51 | private FuturePool(final ExecutorService executor) { |
| 52 | this.executor = executor; |
no outgoing calls