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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-01 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."]]],[]]