java.util.concurrent.Future<V>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 | Description |
|---|---|---|
protected |
SimpleForwardingFuture(java.util.concurrent.Future<V> delegate) |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.concurrent.Future<V> |
delegate() |
Returns the backing delegate instance that methods are forwarded to.
|
cancel, get, get, isCancelled, isDonetoStringprotected SimpleForwardingFuture(java.util.concurrent.Future<V> delegate)
protected final java.util.concurrent.Future<V> delegate()
ForwardingObjectForwardingSet.delegate(). Concrete subclasses override this method to supply
the instance being decorated.delegate in class ForwardingFuture<V>