Waits until the request can be made without exceeding the limit.
This might be appropriate in batch-processing, where latencies of individual requests are not important.
Ignore
Disables flow-control.
This is provided mainly for debugging and not recommended for production use. Having too many requests in-flight might cause RPCs to fail due to congested network or the computer to run out of memory due to excessive buffering, etc.
ThrowException
Throws MaxOutstandingElementCountReachedException or MaxOutstandingRequestBytesReachedException.
This might be appropriate in interactive scenarios. For example, a web server might catch these exceptions and report to the user that the system is overloaded and that the user could try again later. It could also be useful in applications that implement custom rate-limiting logic.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This webpage details the `FlowController.LimitExceededBehavior` enum within the `com.google.api.gax.batching` package, providing different behaviors when flow control limits are exceeded."],["The latest version of this component is 2.63.1, with links to documentation for numerous prior versions ranging from 2.62.0 down to 2.7.1."],["The `FlowController.LimitExceededBehavior` enum offers three behaviors: `Block` (wait until the limit is no longer exceeded), `Ignore` (disable flow control, mainly for debugging), and `ThrowException` (throw an exception when the limit is exceeded)."],["The page lists the inherited members and their methods from the Enum and Object classes, available in the Java documentation."],["The webpage also lists the static fields and static methods for `FlowController.LimitExceededBehavior` with descriptions for each item."]]],[]]