Class BatchingSettings
Batching settings used to specify the conditions under which a batch of data will be further processed.
Inheritance
System.Object
BatchingSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api.Gax
Assembly: Google.Api.Gax.dll
Syntax
public sealed class BatchingSettings
Constructors
BatchingSettings(Nullable<Int64>, Nullable<Int64>, Nullable<TimeSpan>)
Creates a new instance with the specified settings.
Declaration
public BatchingSettings(long? elementCountThreshold, long? byteCountThreshold, TimeSpan? delayThreshold)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int64> | elementCountThreshold | The element count above which further processing of a batch will occur. |
System.Nullable<System.Int64> | byteCountThreshold | The byte count above which further processing of a batch will occur. |
System.Nullable<System.TimeSpan> | delayThreshold | The batch lifetime above which further processing of a batch will occur. |
Properties
ByteCountThreshold
The byte count above which further processing of a batch will occur.
Declaration
public long? ByteCountThreshold { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
DelayThreshold
The batch lifetime above which further processing of a batch will occur.
Declaration
public TimeSpan? DelayThreshold { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.TimeSpan> |
ElementCountThreshold
The element count above which further processing of a batch will occur.
Declaration
public long? ElementCountThreshold { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |