public sealed class BatchingSettingsBatching settings used to specify the conditions under which a batch of data will be further processed.
Namespace
Google.Api.GaxAssembly
Google.Api.Gax.dll
Constructors
BatchingSettings(long?, long?, TimeSpan?)
public BatchingSettings(long? elementCountThreshold, long? byteCountThreshold, TimeSpan? delayThreshold)Creates a new instance with the specified settings.
| Parameters | |
|---|---|
| Name | Description |
elementCountThreshold |
longThe element count above which further processing of a batch will occur. |
byteCountThreshold |
longThe byte count above which further processing of a batch will occur. |
delayThreshold |
TimeSpanThe 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.
| Property Value | |
|---|---|
| Type | Description |
long |
|
DelayThreshold
public TimeSpan? DelayThreshold { get; }The batch lifetime above which further processing of a batch will occur.
| Property Value | |
|---|---|
| Type | Description |
TimeSpan |
|
ElementCountThreshold
public long? ElementCountThreshold { get; }The element count above which further processing of a batch will occur.
| Property Value | |
|---|---|
| Type | Description |
long |
|