Interface LocalInvocationProcessor.ReturnValueStrategy
- Enclosing interface:
LocalInvocationProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
If the
Method
called from the Invocation
returns a Future
instance, this may defined
a strategy for handling the result. This must result in an eventually invocation of either the supplied
Consumer<InvocationError>
or the Consumer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(Object object, Consumer<InvocationError> syncInvocationErrorConsumer, Consumer<InvocationResult> syncInvocationResultConsumer)
-
Method Details
-
process
void process(Object object, Consumer<InvocationError> syncInvocationErrorConsumer, Consumer<InvocationResult> syncInvocationResultConsumer)
-