public final class CompletableExecutors extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
CompletableExecutors.CompletableExecutorService
Overrides
ExecutorService to covariantly return CompletableFuture in place of Future. |
static class |
CompletableExecutors.Overrides
Implements the overriden methods of
CompletableExecutors.CompletableExecutorService
making the usable in a mixin. |
| Constructor and Description |
|---|
CompletableExecutors() |
| Modifier and Type | Method and Description |
|---|---|
static CompletableExecutors.CompletableExecutorService |
completable(ExecutorService threads)
Mixes the given threads (execution service) with overrides to
provide a completable exection service.
|
public CompletableExecutors()
@Nonnull public static CompletableExecutors.CompletableExecutorService completable(@Nonnull ExecutorService threads)
threads - the execution service, never missinCopyright © 2013–2014 binkley's BLOG. All rights reserved.