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() |
addCancel, addListener, 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()
Copyright © 2014. All rights reserved.