Class FlowControlSettings (4.8.0)

public sealed class FlowControlSettings

Settings used to control data flow.

Inheritance

object > FlowControlSettings

Namespace

Google.Api.Gax

Assembly

Google.Api.Gax.dll

Remarks

The precise meaning of the settings in this class is context-sensitive. For example, when used by a library which creates multiple streams of data, the flow control settings may restrict flow on a per-stream basis, or on an aggregate basis. Please consult the documentation of the library that consumes these settings for more details on how they're used in that context.

Constructors

FlowControlSettings(long?, long?)

public FlowControlSettings(long? maxOutstandingElementCount, long? maxOutstandingByteCount)

Creates a new instance with the specified settings.

Parameters
Name Description
maxOutstandingElementCount long

The maximum number of elements that can be outstanding before data flow is restricted, or null if there is no specified limit.

maxOutstandingByteCount long

The maximum number of bytes that can be outstanding before data flow is restricted, or null if there is no specified limit.

Properties

MaxOutstandingByteCount

public long? MaxOutstandingByteCount { get; }

The maximum number of bytes that can be outstanding before data flow is restricted, or null if there is no specified limit.

Property Value
Type Description
long

MaxOutstandingElementCount

public long? MaxOutstandingElementCount { get; }

The maximum number of elements that can be outstanding before data flow is restricted, or null if there is no specified limit.

Property Value
Type Description
long