| Package | Description |
|---|---|
| com.google.cloud |
Core classes for the
gcloud-java library. |
| Modifier and Type | Class and Description |
|---|---|
static class |
RetryHelper.NonRetriableException
Thrown when RetryHelper callable has indicate it should not be retried.
|
static class |
RetryHelper.RetriesExhaustedException
Thrown when a RetryHelper has attempted the maximum number of attempts allowed by RetryParams
and was not successful.
|
static class |
RetryHelper.RetryInterruptedException
Thrown when a RetryHelper failed to complete its work due to interruption.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
BaseServiceException.translateAndPropagateIfPossible(RetryHelper.RetryHelperException ex) |
| Modifier and Type | Method and Description |
|---|---|
static <V> V |
RetryHelper.runWithRetries(Callable<V> callable) |
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.