MCPcopy Create free account
hub / github.com/traneio/future / apply

Method apply

future-java/src/main/java/io/trane/future/FuturePool.java:47–49  ·  view source on GitHub ↗

Creates a new future pool. @param executor the executor used to schedule tasks. @return the new future pool.

(final ExecutorService executor)

Source from the content-addressed store, hash-verified

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;

Callers 4

isolateMethod · 0.95
asyncMethod · 0.95
asyncFailureMethod · 0.95
asyncRejectedMethod · 0.95

Calls

no outgoing calls

Tested by 4

isolateMethod · 0.76
asyncMethod · 0.76
asyncFailureMethod · 0.76
asyncRejectedMethod · 0.76