Class FlowControlSettings (1.13.5)

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

Static Methods

builder()

public static FlowControlSettings.Builder builder()

Create a new builder for these settings.

Returns
Type Description
FlowControlSettings.Builder

Constructors

FlowControlSettings()

public FlowControlSettings()

Methods

bytesOutstanding()

public abstract long bytesOutstanding()

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

Returns
Type Description
long

messagesOutstanding()

public abstract long messagesOutstanding()

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

Returns
Type Description
long