Interface InvocationResultFinalizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Trusted host continuation after actual user-work settlement and before logical reply encoding.
Finalizers execute in reverse registration order under retained serial CALL ownership. They must
not wait for full physical completion or admit new USER work. A failed finalizer becomes a failed
outcome for the remaining outer finalizers; it never skips required cleanup or fabricates undo.
-
Method Summary
Modifier and TypeMethodDescriptionapply(InvocationResult result) Finalizes the previous logical outcome within the host's finite completion budget.
-
Method Details
-
apply
Finalizes the previous logical outcome within the host's finite completion budget.- Parameters:
result- settled logical value or normalized failure- Returns:
- non-null stage of the next logical outcome; no application-controlled completion marker
- Throws:
Exception- if finalization fails, producing a failure for remaining outer finalizers
-