Class FlowControlSettings (1.12.22)

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
TypeDescription
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
TypeDescription
long

messagesOutstanding()

public abstract long messagesOutstanding()

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

Returns
TypeDescription
long