Class FlowControlEventStats.FlowControlEvent (2.39.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
NameDescription
otherEventFlowControlEventStats.FlowControlEvent
Returns
TypeDescription
int

getException()

public FlowController.FlowControlException getException()
Returns
TypeDescription
FlowController.FlowControlException

getThrottledTime(TimeUnit timeUnit)

public Long getThrottledTime(TimeUnit timeUnit)
Parameter
NameDescription
timeUnitTimeUnit
Returns
TypeDescription
Long

getTimestampMs()

public long getTimestampMs()
Returns
TypeDescription
long