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-17 UTC."],[[["This page provides documentation for `BatchingThresholds` in the `com.google.api.gax.batching` package, specifically within the context of the Google Cloud API Client Libraries for Java, and version 2.50.0 is shown in the top header of the page."],["The documentation includes a list of available versions, ranging from the latest release, 2.63.1, down to version 2.7.1, for `BatchingThresholds`."],["The `BatchingThresholds` class offers static factory methods for creating general-purpose batching thresholds, as indicated by the description \"Factory methods for general-purpose batching thresholds\"."],["The `create(long elementThreshold)` static method is detailed, which is used to create a list of `BatchingThreshold` objects that solely count the number of elements, and is also a method that takes in a long parameter that is called elementThreshold."],["The documentation includes links to the Java Object class inherited members as well as the documentation for the list type used in the return type of the static method."]]],[]]