in core/src/main/java/org/apache/ignite/activestore/commons/retry/RetryStrategy.java [77:97]
public boolean isRetryPossible(Exception exception) {
LOGGER.info("[G] Caught exception while retrying", exception);
if (onFailure != null) {
onFailure.run();
}
if (currentRetry < retries && isRetriableException(exception)) {
try {
long sleepTime = delay * (++currentRetry * backoffMultiplier);
LOGGER.debug("[G] Sleeping for {}", sleepTime);
Thread.sleep(sleepTime);
return true;
} catch (InterruptedException e) {
// no-op
}
}
LOGGER.debug("[G] Stopping processing retries");
if (onStop != null) {
onStop.run();
}
return false;
}