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