Modifier and Type | Method and Description |
---|---|
void |
setDelegate(IFuture<V> delegate)
Sets the delegate future which state and result will represent this
future.
|
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, getNow, getSession, isFailed, isSuccessful, sync, sync, sync, syncUninterruptibly, syncUninterruptibly, syncUninterruptibly
void setDelegate(IFuture<V> delegate)
The delegate future can be set at any time and only once.
delegate
- the delegate futureIllegalStateException
- when the delegate future is already setCopyright © 2017–2021 SNF4J.ORG. All rights reserved.