Class RetryDecision
java.lang.Object
com.linecorp.armeria.client.retry.RetryDecision
A
RetryDecision
that determines whether a RetryRule
retries with a Backoff
,
skips the current RetryRule
or no retries.-
Method Summary
Modifier and TypeMethodDescriptionstatic RetryDecision
next()
Returns aRetryDecision
that skips the currentRetryRule
and tries to retry with the nextRetryRule
.static RetryDecision
noRetry()
Returns aRetryDecision
that never retries.static RetryDecision
Returns aRetryDecision
that retries with the specifiedBackoff
.toString()
-
Method Details
-
retry
Returns aRetryDecision
that retries with the specifiedBackoff
. -
noRetry
Returns aRetryDecision
that never retries. -
next
Returns aRetryDecision
that skips the currentRetryRule
and tries to retry with the nextRetryRule
. -
toString
-