Interface FutureInternal<T>

All Superinterfaces:
AsyncResult<T>, Future<T>
All Known Subinterfaces:
PromiseInternal<T>
All Known Implementing Classes:
CompositeFutureImpl, FailedFuture, FutureImpl, PromiseImpl, SucceededFuture

public interface FutureInternal<T> extends Future<T>
Expose some of the future internal stuff.
Author:
Julien Viet
  • Method Details

    • addListener

      void addListener(Listener<T> listener)
      Add a listener to the future result.
      Parameters:
      listener - the listener
    • removeListener

      void removeListener(Listener<T> listener)
      Remove a listener to the future result.
      Parameters:
      listener - the listener