Send feedback
Class BatchingSettings (4.0.0) Stay organized with collections
Save and categorize content based on your preferences.
Version 4.0.0 keyboard_arrow_down
public sealed class BatchingSettings
Batching settings used to specify the conditions under which a batch of data
will be further processed.
Inheritance
Object
>
BatchingSettings
Namespace
Google.Api.Gax
Assembly
Google.Api.Gax.dll
Constructors
BatchingSettings(Nullable<Int64>, Nullable<Int64>, Nullable<TimeSpan>)
public BatchingSettings(long? elementCountThreshold, long? byteCountThreshold, TimeSpan? delayThreshold)
Creates a new instance with the specified settings.
elementCountThreshold
Nullable
< Int64
>
The element count above which further processing of a batch will occur.
byteCountThreshold
Nullable
< Int64
>
The byte count above which further processing of a batch will occur.
delayThreshold
Nullable
< TimeSpan
>
The batch lifetime above which further processing of a batch will occur.
Properties
ByteCountThreshold
public long? ByteCountThreshold { get; }
The byte count above which further processing of a batch will occur.
DelayThreshold
public TimeSpan? DelayThreshold { get; }
The batch lifetime above which further processing of a batch will occur.
ElementCountThreshold
public long? ElementCountThreshold { get; }
The element count above which further processing of a batch will occur.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.
Need to tell us more?
[[["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-10-30 UTC."],[],[]]