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-03-21 UTC."],[[["This page provides documentation for `BatchingThresholds` in the `com.google.api.gax.batching` package, with version 2.63.1 being the latest release and a total of 47 versions available."],["`BatchingThresholds` is a class that supplies factory methods for general-purpose batching thresholds in Java, and is inherited from `java.lang.Object`."],["The main function provided is `\u003cE\u003ecreate(long elementThreshold)`, which generates a list containing a single threshold that counts elements for simple cases where the element count is the only consideration."],["The `BatchingThresholds` class includes a constructor, `BatchingThresholds()`, that is publicly accessible."],["The full inheritance list and all inherited methods of the Object class are listed, such as clone(), equals(), getClass() etc."]]],[]]