-
public final class ReconnectContext
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerretryCountprivate final DurationelapsedTime
-
Constructor Summary
Constructors Constructor Description ReconnectContext(Integer retryCount, Duration elapsedTime)
-
Method Summary
Modifier and Type Method Description final IntegergetRetryCount()The number of failed reconnect attempts. final DurationgetElapsedTime()Elapsed amount of time in milliseconds since the disconnect. -
-
Method Detail
-
getRetryCount
final Integer getRetryCount()
The number of failed reconnect attempts. 0 means this is the first reconnect attempt.
-
getElapsedTime
final Duration getElapsedTime()
Elapsed amount of time in milliseconds since the disconnect.
-
-
-
-