BatchingSettingsProto class

BatchingSettingsProto specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request.

At least one threshold must be positive nonzero.

Constructors

BatchingSettingsProto.new({String? delayThreshold, int? elementCountLimit, int? elementCountThreshold, int? flowControlByteLimit, int? flowControlElementLimit, String? flowControlLimitExceededBehavior, int? requestByteLimit, String? requestByteThreshold})
BatchingSettingsProto.fromJson(Map json_)

Properties

delayThreshold String?
The duration after which a batch should be sent, starting from the addition of the first message to that batch.
getter/setter pair
elementCountLimit int?
The maximum number of elements collected in a batch that could be accepted by server.
getter/setter pair
elementCountThreshold int?
The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
getter/setter pair
flowControlByteLimit int?
The maximum size of data allowed by flow control.
getter/setter pair
flowControlElementLimit int?
The maximum number of elements allowed by flow control.
getter/setter pair
flowControlLimitExceededBehavior String?
The behavior to take when the flow control limit is exceeded. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requestByteLimit int?
The maximum size of the request that could be accepted by server.
getter/setter pair
requestByteThreshold String?
The aggregated size of the batched field which, if exceeded, causes the batch to be sent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited