Home
last modified time | relevance | path

Searched refs:ResultRetryAlgorithm (Results 1 – 9 of 9) sorted by relevance

/external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/
DRetryHelper.java24 import com.google.api.gax.retrying.ResultRetryAlgorithm;
42 ResultRetryAlgorithm<?> resultRetryAlgorithm, in runWithRetries()
49 ResultRetryAlgorithm<V> algorithm = (ResultRetryAlgorithm<V>) resultRetryAlgorithm; in runWithRetries()
61 ResultRetryAlgorithm<V> resultPollAlgorithm, in poll()
70 ResultRetryAlgorithm<V> resultAlgorithm) in run()
DExceptionHandler.java22 import com.google.api.gax.retrying.ResultRetryAlgorithm;
37 public final class ExceptionHandler implements ResultRetryAlgorithm<Object>, Serializable {
/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/retrying/
DRetryAlgorithmTest.java49 new RetryAlgorithm<>(mock(ResultRetryAlgorithm.class), timedAlgorithm); in testCreateFirstAttempt()
59 new RetryAlgorithm<>(mock(ResultRetryAlgorithm.class), timedAlgorithm); in testCreateFirstAttemptWithUnusedContext()
89 ResultRetryAlgorithm<Object> resultAlgorithm = mock(ResultRetryAlgorithm.class); in testNextAttempt()
119 ResultRetryAlgorithm<Object> resultAlgorithm = mock(ResultRetryAlgorithm.class); in testShouldRetry()
133 ResultRetryAlgorithm<Object> resultAlgorithm = mock(ResultRetryAlgorithm.class); in testShouldRetry_usesTimedAlgorithm()
181 ResultRetryAlgorithm<Object> resultAlgorithm = mock(ResultRetryAlgorithm.class); in testShouldRetry_noPreviousSettings()
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/longrunning/
DOperationResponsePollAlgorithm.java32 import com.google.api.gax.retrying.ResultRetryAlgorithm;
39 public class OperationResponsePollAlgorithm implements ResultRetryAlgorithm<OperationSnapshot> {
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/retrying/
DRetryAlgorithm.java46 private final ResultRetryAlgorithm<ResponseT> resultAlgorithm;
68 ResultRetryAlgorithm<ResponseT> resultAlgorithm, TimedRetryAlgorithm timedAlgorithm) { in RetryAlgorithm()
259 public ResultRetryAlgorithm<ResponseT> getResultAlgorithm() { in getResultAlgorithm()
DResultRetryAlgorithm.java39 public interface ResultRetryAlgorithm<ResponseT> { interface
DResultRetryAlgorithmWithContext.java53 extends ResultRetryAlgorithm<ResponseT> {
DStreamingRetryAlgorithm.java58 ResultRetryAlgorithm<ResponseT> resultAlgorithm, TimedRetryAlgorithm timedAlgorithm) { in StreamingRetryAlgorithm()
/external/google-cloud-java/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/spi/v1beta1/
DHttpResourceManagerRpc.java29 import com.google.api.gax.retrying.ResultRetryAlgorithm;
114 private static final ResultRetryAlgorithm<Operation> OPERATION_HANDLER =
115 new ResultRetryAlgorithm<Operation>() {