Interface RetryCounters
- All Superinterfaces:
Counters
- All Known Implementing Classes:
RetryCounters.AttemptFailed,RetryCounters.Exhausted,RetryCounters.Interrupted,RetryCounters.Rejected,RetryCounters.Success
public sealed interface RetryCounters
extends Counters
permits RetryCounters.AttemptFailed, RetryCounters.Success, RetryCounters.Exhausted, RetryCounters.Rejected, RetryCounters.Interrupted
Counter/timer-worthy occurrences emitted by Retry. Retry has no live, gauge-worthy state, so it
never produces a
Snapshot.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordOne failed attempt, sourced fromRetryEvent.AttemptFailed, which fires once per failed attempt within a call.static final recordstatic final recordstatic final recordstatic final recordThe call succeeded — sourced fromRetryEvent.Success, emitted exactly once per call, when the retry loop as a whole succeeds.