Class Invocation.ResultObservation
java.lang.Object
io.fluxzero.sdk.tracking.handling.Invocation.ResultObservation
- Enclosing class:
Invocation
Tracking's invocation-local ownership of a deferred result. Installing an observation does not change ordinary
handler results. Only explicitly attached deferred results replace the handler's immediate placeholder result.
-
Constructor Summary
ConstructorsConstructorDescriptionResultObservation(DeserializingMessage message) Creates an observation for exactly the message being handled, excluding nested local messages. -
Method Summary
Modifier and TypeMethodDescriptionSettles batch ownership after tracking's error handler and any asynchronous recovery have finished.voidKeeps an unhandled error exceptional for batch recovery.Invokes a handler inside an existingInvocationand exposes its deferred result, if any.booleanWhether this invocation has transferred a deferred result to tracking.Retries only this handler, releasing and awaiting its deferred commit before reporting retry success.
-
Constructor Details
-
ResultObservation
Creates an observation for exactly the message being handled, excluding nested local messages.
-
-
Method Details
-
observesDeferredResult
public boolean observesDeferredResult()Whether this invocation has transferred a deferred result to tracking. -
invoke
-
retry
-
complete
-
fail
Keeps an unhandled error exceptional for batch recovery.
-