Package ru.tinkoff.kora.resilient.retry
Interface Retry.RetryState
- All Superinterfaces:
AutoCloseable
- Enclosing interface:
- Retry
Retry State implementation for manual retry execution handling
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddoDelay()intlongonException(Throwable throwable)
-
Method Details
-
onException
-
getAttempts
int getAttempts() -
getDelayNanos
long getDelayNanos() -
doDelay
void doDelay() -
close
void close()- Specified by:
closein interfaceAutoCloseable
-