- Enclosing interface:
- 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 MatsEndpoint.ProcessSingleLambda<R,
ProcessLambdawhich does not have a state, and have the same return-semantics as
ProcessReturnLambda- used for single-stage endpoints as these does not have multiple stages to transfer state between. However, since it is possible to send state along with the request, one may still use the
ProcessReturnLambdafor single-stage endpoints, but in this case you need to code it up yourself by making a multi-stage and then just adding a single lastStage.
(MatsEndpoint.ProcessContext<R> ctx, I msg) throws MatsEndpoint.MatsRefuseMessageException