interceptor = new RetryInterceptorVoid(retryCallable, retryPolicy);
} else {
interceptor = new RetryInterceptorWithResult(retryCallable, retryPolicy);
}
return interceptor.execute();
}
private ExponentialRetryPolicy createExponentialRetryPolicy(ExponentialRetry retryAnnotation) {
ExponentialRetryPolicy retryPolicy = new ExponentialRetryPolicy(retryAnnotation.initialRetryIntervalSeconds())