Class FlowControlEventStats.FlowControlEvent (2.15.0)

publicstaticclass FlowControlEventStats.FlowControlEventimplementsComparable<FlowControlEventStats.FlowControlEvent>

A flow control event. Record throttled time if LimitExceededBehavior is LimitExceededBehavior#Block, or the exception if the behavior is LimitExceededBehavior#ThrowException.

Inheritance

java.lang.Object > FlowControlEventStats.FlowControlEvent

Methods

compareTo(FlowControlEventStats.FlowControlEvent otherEvent)

publicintcompareTo(FlowControlEventStats.FlowControlEventotherEvent)
Parameter
Name Description
Returns
Type Description
int

getException()

publicFlowController.FlowControlExceptiongetException()
Returns
Type Description

getThrottledTime(TimeUnit timeUnit)

publicLonggetThrottledTime(TimeUnittimeUnit)
Parameter
Name Description
timeUnit TimeUnit
Returns
Type Description

getTimestampMs()

publiclonggetTimestampMs()
Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.