Uses of Interface
com.google.api.client.util.BackOff
-
Packages that use BackOff Package Description com.google.api.client.http Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.com.google.api.client.testing.util Beta
Testing utilities used for writing tests based on this library.com.google.api.client.util General utilities used throughout this library. -
-
Uses of BackOff in com.google.api.client.http
Methods in com.google.api.client.http that return BackOff Modifier and Type Method Description BackOff
HttpBackOffIOExceptionHandler. getBackOff()
Returns the back-off.BackOff
HttpBackOffUnsuccessfulResponseHandler. getBackOff()
Returns the back-off.Constructors in com.google.api.client.http with parameters of type BackOff Constructor Description HttpBackOffIOExceptionHandler(BackOff backOff)
Constructs a new instance from aBackOff
.HttpBackOffUnsuccessfulResponseHandler(BackOff backOff)
Constructs a new instance from aBackOff
. -
Uses of BackOff in com.google.api.client.testing.util
Classes in com.google.api.client.testing.util that implement BackOff Modifier and Type Class Description class
MockBackOff
-
Uses of BackOff in com.google.api.client.util
Classes in com.google.api.client.util that implement BackOff Modifier and Type Class Description class
ExponentialBackOff
Implementation ofBackOff
that increases the back off period for each retry attempt using a randomization function that grows exponentially.Fields in com.google.api.client.util declared as BackOff Modifier and Type Field Description static BackOff
BackOff. STOP_BACKOFF
Fixed back-off policy that always returns#STOP
fornextBackOffMillis()
, meaning that the operation should not be retried.static BackOff
BackOff. ZERO_BACKOFF
Fixed back-off policy whose back-off time is always zero, meaning that the operation is retried immediately without waiting.Methods in com.google.api.client.util with parameters of type BackOff Modifier and Type Method Description static boolean
BackOffUtils. next(Sleeper sleeper, BackOff backOff)
Runs the next iteration of the back-off policy, and returns whether to continue to retry the operation.
-