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-03-21 UTC."],[[["This webpage provides documentation for the `FlowController.LimitExceededBehavior` enum in the Google API Client Library for Java (gax), detailing its usage across multiple versions, ranging from 2.7.1 to 2.63.1 (latest)."],["The `FlowController.LimitExceededBehavior` enum specifies the actions taken by `FlowController` when flow control limits are exceeded, including `Block`, `Ignore`, and `ThrowException`."],["The `Block` behavior will wait until a request can be made without going over the set limit, making it more suitable for batch-processing."],["`Ignore` is mainly for debugging and disables flow-control, which can lead to RPC failures."],["`ThrowException` is suitable for interactive situations, such as a server reporting that the system is overloaded, or for custom rate-limiting logic, and throws either `MaxOutstandingElementCountReachedException` or `MaxOutstandingRequestBytesReachedException` accordingly."]]],[]]