Interface InvocationSuccessAction<C extends VisitableCommand>

All Superinterfaces:
InvocationCallback<C>
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 interface InvocationSuccessAction<C extends VisitableCommand> extends InvocationCallback<C>
Since:
9.0
Author:
Dan Berindei
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(InvocationContext rCtx, C rCommand, Object rv)
    Process the result from a successful invocation stage and possibly throw an exception.
    default Object
    apply(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable)
    Process the result or the exception from an invocation stage and either return a simple value, return a new InvocationStage, or throw an exception.