Class FlowControlEventStats.FlowControlEvent (2.20.0)

Stay organized with collections Save and categorize content based on your preferences.
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