Interface FutureCallback<T>

Type Parameters:
T - the future result type returned by this callback.

public interface FutureCallback<T>
A callback interface that gets invoked upon completion of a Future.
Since:
4.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    completed(T result)
     
    void
     
  • Method Details

    • completed

      void completed(T result)
    • failed

      void failed(Exception ex)
    • cancelled

      void cancelled()