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 AsynchronousFlowCompletion
Allows
ThreadState
safe logic to run on the completion of theAsynchronousFlow
.As the
AsynchronousFlow
is very likely to use otherThread
instances (and likely call the completion ofAsynchronousFlow
on anotherThread
), this allowsThreadState
logic to synchronise the results back into theManagedFunction
and its dependentManagedObject
instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run()
Contains theThreadState
safe logic.
-
-
-
Method Detail
-
run
void run() throws java.lang.Throwable
Contains theThreadState
safe logic.- Throws:
java.lang.Throwable
- Indicate a failure in theAsynchronousFlow
.
-
-