Class BatchingSettings (3.2.0)

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
NameDescription
elementCountThresholdNullable<Int64>

The element count above which further processing of a batch will occur.

byteCountThresholdNullable<Int64>

The byte count above which further processing of a batch will occur.

delayThresholdNullable<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.

Property Value
TypeDescription
Nullable<Int64>

DelayThreshold

public TimeSpan? DelayThreshold { get; }

The batch lifetime above which further processing of a batch will occur.

Property Value
TypeDescription
Nullable<TimeSpan>

ElementCountThreshold

public long? ElementCountThreshold { get; }

The element count above which further processing of a batch will occur.

Property Value
TypeDescription
Nullable<Int64>