Interface AsyncFutureListener<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface AsyncFutureListener<T>
    An interface (lambda) which is fired upon completion of an AsyncFuture.
    • Method Detail

      • operationComplete

        void operationComplete​(AsyncFuture<T> future)
                        throws java.lang.Exception
        Invoked when the operation associated with the AsyncFuture has been completed.
        Parameters:
        future - the source AsyncFuture which called this callback
        Throws:
        java.lang.Exception