Class BatchingSettings (4.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
Parameters |
---|
Name | Description |
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.
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 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["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 2024-10-01 UTC."]]