K - public class FutureWrapper2<K extends BaseFuture,J extends BaseFuture> extends BaseFutureImpl<K>
BaseFuture.FutureTypecompleted, lock, reason, type| Constructor and Description |
|---|
FutureWrapper2(J wrappedFuture) |
FutureWrapper2(K baseFuture,
J wrappedFuture) |
| Modifier and Type | Method and Description |
|---|---|
void |
waitFor()
Wait for the future, which will cause this future to complete if the
wrapped future completes.
|
J |
wrappedFuture() |
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 FutureWrapper2(J wrappedFuture)
public void waitFor()
future - The future to wrappublic J wrappedFuture()
Copyright © 2014. All rights reserved.