K - public class FutureDone<K> extends BaseFutureImpl<FutureDone<K>>
BaseFuture.FutureTypecompleted, lock, reason, type| Constructor and Description |
|---|
FutureDone()
Creates a new future for the shutdown operation.
|
| Modifier and Type | Method and Description |
|---|---|
FutureDone<K> |
done()
Set future as finished and notify listeners.
|
FutureDone<K> |
done(K object)
Set future as finished and notify listeners.
|
K |
object() |
static FutureDone<List<FutureDone<?>>> |
whenAll(List<FutureDone<?>> all) |
addCancel, addListener, await, await, awaitListeners, awaitListenersUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, completedAndNotify, failed, failed, failed, failed, failed, failedReason, isCompleted, isFailed, isSuccess, notifyListeners, removeCancel, removeListener, self, self, typepublic FutureDone<K> done()
public FutureDone<K> done(K object)
object - An object that can be attached.public K object()
public static FutureDone<List<FutureDone<?>>> whenAll(List<FutureDone<?>> all)
Copyright © 2015. All rights reserved.