presto-hive/src/main/java/io/prestosql/plugin/hive/util/RetryDriver.java/RetryDriver/onRetry
class RetryDriver:    public final RetryDriver onRetry(Runnable retryRunnable)
    {
        return new RetryDriver(maxAttempts, minSleepTime, maxSleepTime, scaleFactor, maxRetryTime, exceptionWhiteList, Optional.ofNullable(retryRunnable));
    }