Creates an ImmutableList containing only a single threshold which counts the number of
elements. This is helpful for when using ThresholdBatcher for the simple case, when the element
count is the only threshold.
[[["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-04-09 UTC."],[[["This page provides documentation for the `BatchingThresholds` class within the Google API Client Libraries for Java, specifically for the `com.google.api.gax.batching` package."],["The latest version documented is 2.63.1, and the page includes a comprehensive list of historical versions dating back to 2.7.1, allowing for access to older versions of the documentation."],["`BatchingThresholds` is a class containing factory methods for creating general-purpose batching thresholds, specifically an immutable list containing a threshold that counts the number of elements."],["The `BatchingThresholds` class inherits members from `java.lang.Object`, which includes methods like `clone()`, `equals()`, `hashCode()`, and others."],["It also has a static method `create(long elementThreshold)` that can create a list of `BatchingThreshold\u003cE\u003e` based on the number of elements."]]],[]]