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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eThresholdBatchReceiver\u003c/code\u003e interface in the Google Cloud API Client Library for Java, specifically within the \u003ccode\u003ecom.google.api.gax.batching\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eThresholdBatchReceiver\u003c/code\u003e documentation is for version 2.63.1, with a history of documentation available for versions dating back to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eThresholdBatchReceiver\u003c/code\u003e interface defines two methods: \u003ccode\u003eprocessBatch\u003c/code\u003e, which asynchronously processes a batch, and \u003ccode\u003evalidateBatch\u003c/code\u003e, which checks if a batch can be handled by the receiver.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eprocessBatch\u003c/code\u003e method returns an \u003ccode\u003eApiFuture\u003c/code\u003e, indicating the asynchronous nature of batch processing, whereas \u003ccode\u003evalidateBatch\u003c/code\u003e does not return anything, and it's responsible for validating a batch before sending it to a \u003ccode\u003eThresholdBatcher\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe list of available documentation versions shows a long line of iterative development of this module.\u003c/p\u003e\n"]]],[],null,[]]