public static RetryingContext create() { return new NoopRetryingContext(); }
/** * Creates a {@link RetryingFuture}, which is a facade, returned to the client code to wait for * any retriable operation to complete. The future is bounded to {@code this} executor instance. * * @param callable the actual callable, which should be executed in a retriable context * @return retrying future facade */ @Override public RetryingFuture<ResponseT> createFuture(Callable<ResponseT> callable) { return createFuture(callable, NoopRetryingContext.create()); }
/** * Creates a {@link RetryingFuture}, which is a facade, returned to the client code to wait for * any retriable operation to complete. The future is bounded to {@code this} executor instance. * * @param callable the actual callable, which should be executed in a retriable context * @return retrying future facade */ @Override public RetryingFuture<ResponseT> createFuture(Callable<ResponseT> callable) { return createFuture(callable, NoopRetryingContext.create()); }
/** * Creates a {@link RetryingFuture}, which is a facade, returned to the client code to wait for * any retriable operation to complete. The returned future is bounded to {@code this} executor * instance. * * @param callable the actual callable, which should be executed in a retriable context * @return retrying future facade */ @Override public RetryingFuture<ResponseT> createFuture(Callable<ResponseT> callable) { return createFuture(callable, NoopRetryingContext.create()); }
public static RetryingContext create() { return new NoopRetryingContext(); }
/** * Creates a {@link RetryingFuture}, which is a facade, returned to the client code to wait for * any retriable operation to complete. The returned future is bounded to {@code this} executor * instance. * * @param callable the actual callable, which should be executed in a retriable context * @return retrying future facade */ @Override public RetryingFuture<ResponseT> createFuture(Callable<ResponseT> callable) { return createFuture(callable, NoopRetryingContext.create()); }