A flow control event. Record throttled time if LimitExceededBehavior is LimitExceededBehavior#Block, or the exception if the behavior is LimitExceededBehavior#ThrowException.
[[["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-09 UTC."],[[["This webpage provides documentation for `FlowControlEventStats.FlowControlEvent`, a class within the Google API client library for Java, specifically within the `com.google.api.gax.batching` package."],["The `FlowControlEventStats.FlowControlEvent` class represents a flow control event, which records the throttled time if a `LimitExceededBehavior` is set to `Block`, or the exception if the behavior is set to `ThrowException`."],["The class implements the `Comparable` interface, enabling the comparison of `FlowControlEventStats.FlowControlEvent` objects using the `compareTo` method, and it inherits several methods from `java.lang.Object`."],["Key methods provided include `getException()`, which retrieves a `FlowControlException`, `getThrottledTime(TimeUnit timeUnit)`, which gets the throttled time in the specified `TimeUnit`, and `getTimestampMs()`, which fetches the timestamp in milliseconds."],["The page also has links to the documentation for this class spanning several versions, ranging from 2.63.1 down to 2.7.1."]]],[]]