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 |
|---|---|
K |
getObject() |
FutureDone<K> |
setDone()
Set future as finished and notify listeners.
|
FutureDone<K> |
setDone(K object)
Set future as finished and notify listeners.
|
addCancel, addListener, addListener, await, await, awaitListeners, awaitListenersUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getFailedReason, getType, isCompleted, isFailed, isSuccess, notifyListeners, removeCancel, removeListener, self, setCompletedAndNotify, setFailed, setFailed, setFailed, setFailed, setFailedpublic FutureDone<K> setDone()
public FutureDone<K> setDone(K object)
object - An object that can be attached.public K getObject()
Copyright © 2014. All rights reserved.