Interface AsynchronousFlowCompletion
-
- 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 AsynchronousFlowCompletionAllows
ThreadStatesafe logic to run on the completion of theAsynchronousFlow.As the
AsynchronousFlowis very likely to use otherThreadinstances (and likely call the completion ofAsynchronousFlowon anotherThread), this allowsThreadStatelogic to synchronise the results back into theManagedFunctionand its dependentManagedObjectinstances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun()Contains theThreadStatesafe logic.
-
-
-
Method Detail
-
run
void run() throws java.lang.Throwable
Contains theThreadStatesafe logic.- Throws:
java.lang.Throwable- Indicate a failure in theAsynchronousFlow.
-
-