Interface representing an object that receives batches from a ThresholdBatcher and takes action
on them. Implementations of ThresholdBatchReceiver should be thread-safe.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `ThresholdBatchReceiver` interface in the Google API Client Library for Java (gax), which handles batches from a `ThresholdBatcher`."],["The latest version of `ThresholdBatchReceiver` available is 2.63.1, with an extensive list of previous versions also available, going back to version 2.7.1."],["`ThresholdBatchReceiver` implementations must be thread-safe and have two methods: `processBatch`, which processes a batch asynchronously, and `validateBatch`, which ensures the batch is acceptable."],["The `processBatch` method takes a batch of type `BatchT` as input and returns an `ApiFuture` object."],["The `validateBatch` method is called before the batch is sent to `ThresholdBatcher` to ensure it can be processed correctly."]]],[]]