Interface ApiFutureCallback<V>


public interface ApiFutureCallback<V>
A callback for accepting the results of an ApiFuture.

It is similar to Guava's FutureCallback, redeclared so that Guava can be shaded.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onSuccess(V result)
     
  • Method Details

    • onFailure

      void onFailure(Throwable t)
    • onSuccess

      void onSuccess(V result)