Class DelegatingFuture<V>

  • All Implemented Interfaces:
    Future<V>

    public abstract class DelegatingFuture<V>
    extends Wrapper<Future<V>>
    implements Future<V>
    Abstract baseclass that simplifies wrapping an existing Future by forwarding all required methods to a delegate future object.
    The class also provides overridable wrapper methods for result and exception outcomes.

    Although this class does implement all required methods of Future it is still declared as an abstract class.
    This is because it does not provide any value in itself.

    Author:
    Sjoerd Talsma