Interface FuturesExtra.AsyncFunction2<Z,A,B>

Enclosing class:
FuturesExtra

public static interface FuturesExtra.AsyncFunction2<Z,A,B>
  • Method Summary

    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 Details

    • apply

      com.google.common.util.concurrent.ListenableFuture<Z> apply(A a, B b) throws 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:
      Exception