| 程序包 | 说明 |
|---|---|
| com.firefly.utils.concurrent |
| 限定符和类型 | 类和说明 |
|---|---|
class |
FuturePromise<C> |
static class |
Promise.Adapter<U>
Empty implementation of
Promise. |
static class |
Promise.Completable<S>
A CompletableFuture that is also a Promise.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Promise<T> |
Promise.from(CompletableFuture<? super T> completable)
Creates a promise from the given incomplete CompletableFuture.
|
Copyright © 2016. All rights reserved.