Class ResultBatch
java.lang.Object
io.fluxzero.common.api.ResultBatch
- All Implemented Interfaces:
JsonType
Represents a batch of results returned from the Fluxzero Runtime in response to a
RequestBatch.
Each RequestResult in this list corresponds to one of the requests in the original batch and is
matched using requestId. Note that result order is not guaranteed to match the order of the requests.
Result Matching
The Fluxzero Java SDK automatically routes eachRequestResult back to its originating Request
using the unique requestId.
Error Handling
If any request fails, its result will be anErrorResult. The client will complete the
corresponding CompletableFuture exceptionally using a ServiceException.- See Also:
-
Constructor Details
-
ResultBatch
public ResultBatch()
-