public final class RetryingExecutorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.api.gax.retrying.RetryingExecutor<T> |
retryingExecutor(com.google.api.gax.retrying.RetrySettings settings,
ScheduledExecutorService executor) |
static <T> com.google.api.core.ApiFuture<T> |
runWithRetries(Callable<T> callable,
com.google.api.gax.retrying.RetryingExecutor<T> executor) |
public static <T> com.google.api.gax.retrying.RetryingExecutor<T> retryingExecutor(com.google.api.gax.retrying.RetrySettings settings,
ScheduledExecutorService executor)
public static <T> com.google.api.core.ApiFuture<T> runWithRetries(Callable<T> callable, com.google.api.gax.retrying.RetryingExecutor<T> executor)
Copyright © 2020 Google LLC. All rights reserved.