| Package | Description |
|---|---|
| com.google.cloud |
Core classes for the
gcloud-java library. |
| Modifier and Type | Method and Description |
|---|---|
RetryParams |
RetryParams.Builder.build()
Create an instance of RetryParams with the parameters set in this builder.
|
static RetryParams |
RetryParams.defaultInstance()
Returns an instance with the default parameters.
|
protected RetryParams |
ServiceOptions.defaultRetryParams()
Some services may have different backoff requirements listed in their SLAs.
|
static RetryParams |
RetryParams.noRetries()
Returns an instance of
RetryParams where `retryMaxAttempts` and `retryMinAttempts` are
set to `1`. |
RetryParams |
ServiceOptions.retryParams()
Returns configuration parameters for request retries.
|
| Modifier and Type | Method and Description |
|---|---|
B |
ServiceOptions.Builder.retryParams(RetryParams retryParams)
Sets configuration parameters for request retries.
|
static <V> V |
RetryHelper.runWithRetries(Callable<V> callable,
RetryParams params,
ExceptionHandler exceptionHandler) |
static <V> V |
RetryHelper.runWithRetries(Callable<V> callable,
RetryParams params,
ExceptionHandler exceptionHandler,
Clock clock) |
Copyright © 2016 Google. All rights reserved.