Interface FuturesExtra.AsyncFunction2<Z,​A,​B>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.common.util.concurrent.ListenableFuture<Z> apply​(A a, B b)
      Create and return a ListenableFuture that will execute combining a and b into some sort of result.
    • Method Detail

      • apply

        com.google.common.util.concurrent.ListenableFuture<Z> apply​(A a,
                                                                    B b)
                                                             throws java.lang.Exception
        Create and return a ListenableFuture that will execute combining a and b into some sort of result.
        Parameters:
        a - the first input value.
        b - the second input value.
        Returns:
        a ListenableFuture that will complete once the result of a and b is computed.
        Throws:
        java.lang.Exception