public class ApiResultRetryAlgorithm<ResponseT> extends Object implements com.google.api.gax.retrying.ResultRetryAlgorithm<ResponseT>
| Modifier and Type | Field and Description |
|---|---|
static org.threeten.bp.Duration |
DEADLINE_SLEEP_DURATION |
| Constructor and Description |
|---|
ApiResultRetryAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.retrying.TimedAttemptSettings |
createNextAttempt(Throwable prevThrowable,
ResponseT prevResponse,
com.google.api.gax.retrying.TimedAttemptSettings prevSettings) |
boolean |
shouldRetry(Throwable prevThrowable,
ResponseT prevResponse) |
public static final org.threeten.bp.Duration DEADLINE_SLEEP_DURATION
public com.google.api.gax.retrying.TimedAttemptSettings createNextAttempt(Throwable prevThrowable, ResponseT prevResponse, com.google.api.gax.retrying.TimedAttemptSettings prevSettings)
createNextAttempt in interface com.google.api.gax.retrying.ResultRetryAlgorithm<ResponseT>Copyright © 2018 Google LLC. All rights reserved.