Class PubSubConfiguration.FlowControl
java.lang.Object
com.google.cloud.spring.pubsub.core.PubSubConfiguration.FlowControl
- Enclosing class:
- PubSubConfiguration
flow control settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.batching.FlowController.LimitExceededBehavior
void
setLimitExceededBehavior
(com.google.api.gax.batching.FlowController.LimitExceededBehavior limitExceededBehavior) void
setMaxOutstandingElementCount
(Long maxOutstandingElementCount) void
setMaxOutstandingRequestBytes
(Long maxOutstandingRequestBytes)
-
Constructor Details
-
FlowControl
public FlowControl()
-
-
Method Details
-
getMaxOutstandingElementCount
-
setMaxOutstandingElementCount
-
getMaxOutstandingRequestBytes
-
setMaxOutstandingRequestBytes
-
getLimitExceededBehavior
public com.google.api.gax.batching.FlowController.LimitExceededBehavior getLimitExceededBehavior() -
setLimitExceededBehavior
public void setLimitExceededBehavior(com.google.api.gax.batching.FlowController.LimitExceededBehavior limitExceededBehavior)
-