Class FlowControlSettings
java.lang.Object
com.google.cloud.pubsublite.cloudpubsub.FlowControlSettings
- All Implemented Interfaces:
Serializable
Describes limits on bytes and messages outstanding for a single partition Pub/Sub Lite
subscriber. These are hard limits enforced by the server.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowControlSettings.Builderbuilder()Create a new builder for these settings.abstract longThe number of quota bytes that may be outstanding to the client.abstract longThe number of messages that may be outstanding to the client.
-
Constructor Details
-
FlowControlSettings
public FlowControlSettings()
-
-
Method Details
-
builder
Create a new builder for these settings. -
bytesOutstanding
public abstract long bytesOutstanding()The number of quota bytes that may be outstanding to the client. -
messagesOutstanding
public abstract long messagesOutstanding()The number of messages that may be outstanding to the client.
-