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
Fields in com.google.api.client.http declared as BackOff Modifier and Type Field Description private BackOffHttpBackOffIOExceptionHandler. backOffBack-off policy.private BackOffHttpBackOffUnsuccessfulResponseHandler. backOffBack-off policy.Methods in com.google.api.client.http that return BackOff Modifier and Type Method Description BackOffHttpBackOffIOExceptionHandler. getBackOff()Returns the back-off.BackOffHttpBackOffUnsuccessfulResponseHandler. 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 classMockBackOff -
Uses of BackOff in com.google.api.client.util
Classes in com.google.api.client.util that implement BackOff Modifier and Type Class Description classExponentialBackOffImplementation ofBackOffthat 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 BackOffBackOff. STOP_BACKOFFFixed back-off policy that always returns#STOPfornextBackOffMillis(), meaning that the operation should not be retried.static BackOffBackOff. ZERO_BACKOFFFixed 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 booleanBackOffUtils. next(Sleeper sleeper, BackOff backOff)Runs the next iteration of the back-off policy, and returns whether to continue to retry the operation.
-