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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eFlowController.LimitExceededBehavior\u003c/code\u003e enum within the \u003ccode\u003ecom.google.api.gax.batching\u003c/code\u003e package, which is part of the Google API Client Library for Java.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFlowController.LimitExceededBehavior\u003c/code\u003e enum defines how the \u003ccode\u003eFlowController\u003c/code\u003e should behave when its limits are exceeded, providing options such as \u003ccode\u003eBlock\u003c/code\u003e, \u003ccode\u003eIgnore\u003c/code\u003e, and \u003ccode\u003eThrowException\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are many previous versions, ranging all the way from version 2.7.1 to the most current version, 2.63.1, with each version corresponding to a specific release of this \u003ccode\u003eFlowController.LimitExceededBehavior\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFlowController.LimitExceededBehavior\u003c/code\u003e can either wait for the request to be made (\u003ccode\u003eBlock\u003c/code\u003e), disable flow control (\u003ccode\u003eIgnore\u003c/code\u003e), or throw an exception (\u003ccode\u003eThrowException\u003c/code\u003e) when limits are reached, allowing for different handling in batch-processing or interactive scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits several members from \u003ccode\u003eEnum\u003c/code\u003e and \u003ccode\u003eObject\u003c/code\u003e, such as \u003ccode\u003evalueOf\u003c/code\u003e, \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003enotify\u003c/code\u003e, and more, as well as having the static fields \u003ccode\u003eBlock\u003c/code\u003e, \u003ccode\u003eIgnore\u003c/code\u003e, and \u003ccode\u003eThrowException\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]