public abstract static class ForwardingListenableFuture.SimpleForwardingListenableFuture<V> extends ForwardingListenableFuture<V>
ForwardingListenableFuture
where subclasses can pass in an already constructed
ListenableFuture
as the delegate.
ForwardingListenableFuture.SimpleForwardingListenableFuture <V>
ForwardingFuture.SimpleForwardingFuture <V>
Modifier | Constructor and Description |
---|---|
protected |
SimpleForwardingListenableFuture(ListenableFuture
|
Modifier and Type | Method and Description |
---|---|
protected ListenableFuture |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
addListener
cancel, get, get, isCancelled, isDone
toString
protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate)
protected final ListenableFuture<V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the instance being decorated.