@BetaApi(value="The surface for batching is not stable yet and may change in the future.") public final class BatchingThresholds extends Object
| Constructor and Description |
|---|
BatchingThresholds() |
| Modifier and Type | Method and Description |
|---|---|
static <E> List<BatchingThreshold<E>> |
create(long elementThreshold)
Creates an ImmutableList containing only a single threshold which counts the number of
elements.
|
public static <E> List<BatchingThreshold<E>> create(long elementThreshold)