public class Retryer extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Retryer.RetryableDockerOperation<T> |
| Modifier and Type | Field and Description |
|---|---|
static org.joda.time.ReadableDuration |
STANDARD_DELAY |
| Constructor and Description |
|---|
Retryer(int retryAttempts,
org.joda.time.ReadableDuration delay) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
runWithRetries(Retryer.RetryableDockerOperation<T> operation) |
public <T> T runWithRetries(Retryer.RetryableDockerOperation<T> operation) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.