Class FlowControlSettings.Builder (1.14.4)

public abstract static class FlowControlSettings.Builder

Inheritance

java.lang.Object > FlowControlSettings.Builder

Constructors

Builder()

public Builder()

Methods

build()

public FlowControlSettings build()
Returns
Type Description
FlowControlSettings
Exceptions
Type Description
ApiException

setBytesOutstanding(long bytes)

public abstract FlowControlSettings.Builder setBytesOutstanding(long bytes)

The number of quota bytes that may be outstanding to the client.

Parameter
Name Description
bytes long
Returns
Type Description
FlowControlSettings.Builder

setMessagesOutstanding(long elements)

public abstract FlowControlSettings.Builder setMessagesOutstanding(long elements)

The number of messages that may be outstanding to the client.

Parameter
Name Description
elements long
Returns
Type Description
FlowControlSettings.Builder