Interface GlobalRequestFuture.ReplyHandler

  • Enclosing class:
    GlobalRequestFuture
    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 static interface GlobalRequestFuture.ReplyHandler
    A ReplyHandler is invoked asynchronously when the reply for a request with want-reply = true is received. It is not invoked if the request could not be sent; to catch such cases WaitableFuture.await() the GlobalRequestFuture and check GlobalRequestFuture.getException().