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<V> delegate) |
Modifier and Type | Method and Description |
---|---|
protected Future<V> |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
cancel, get, get, isCancelled, isDone
toString
protected SimpleForwardingFuture(Future<V> delegate)
protected final Future<V> delegate()
ForwardingObject
ForwardingSet.delegate()
. Concrete subclasses override this method to supply the
instance being decorated.delegate
in class ForwardingFuture<V>
Copyright © 2010–2017. All rights reserved.