Class FlowControlEventStats.FlowControlEvent (2.57.0)

public static class FlowControlEventStats.FlowControlEvent implements Comparable<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)

public int compareTo(FlowControlEventStats.FlowControlEvent otherEvent)
Parameter
Name Description
otherEvent FlowControlEventStats.FlowControlEvent
Returns
Type Description
int

getException()

public FlowController.FlowControlException getException()
Returns
Type Description
FlowController.FlowControlException

getThrottledTime(TimeUnit timeUnit)

public Long getThrottledTime(TimeUnit timeUnit)
Parameter
Name Description
timeUnit TimeUnit
Returns
Type Description
Long

getTimestampMs()

public long getTimestampMs()
Returns
Type Description
long