| Package | Description |
|---|---|
| com.google.cloud.tools.jib.cache |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Exception> |
Retry.action(Retry.Action<E> action)
Create a retryable action.
|
Retry<E> |
Retry.maximumRetries(int maximumRetries) |
Retry<E> |
Retry.retryOnException(Predicate<Exception> retryOnException)
Provide a predicate to determine if a thrown exception can be retried.
|
Retry<E> |
Retry.sleep(long duration,
TimeUnit unit)
Set the sleep time between retries.
|
Copyright © 2019. All rights reserved.