Class FlowControlSettings

public abstract class FlowControlSettings implements Serializable

Describes limits on bytes and messages outstanding for a single partition Pub/Sub Lite subscriber. These are hard limits enforced by the server.

Inheritance

java.lang.Object > FlowControlSettings

Implements

Serializable

Constructors

FlowControlSettings()

public FlowControlSettings()

Methods

builder()

public static FlowControlSettings.Builder builder()

Create a new builder for these settings.

Returns
TypeDescription
FlowControlSettings.Builder

bytesOutstanding()

public abstract long bytesOutstanding()

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

Returns
TypeDescription
long

messagesOutstanding()

public abstract long messagesOutstanding()

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

Returns
TypeDescription
long