Class FlowControlSettings.Builder (1.7.1)

public abstract static class FlowControlSettings.Builder

Inheritance

java.lang.Object > FlowControlSettings.Builder

Constructors

Builder()

public Builder()

Methods

build()

public FlowControlSettings build()
Returns
TypeDescription
FlowControlSettings
Exceptions
TypeDescription
ApiException

setBytesOutstanding(long bytes)

public abstract FlowControlSettings.Builder setBytesOutstanding(long bytes)

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

Parameter
NameDescription
byteslong
Returns
TypeDescription
FlowControlSettings.Builder

setMessagesOutstanding(long elements)

public abstract FlowControlSettings.Builder setMessagesOutstanding(long elements)

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

Parameter
NameDescription
elementslong
Returns
TypeDescription
FlowControlSettings.Builder