Package | Description |
---|---|
com.google.api.client.util |
General utilities used throughout this library.
|
Modifier and Type | Method and Description |
---|---|
ExponentialBackOff.Builder |
ExponentialBackOff.Builder.setInitialIntervalMillis(int initialIntervalMillis)
Sets the initial retry interval in milliseconds.
|
ExponentialBackOff.Builder |
ExponentialBackOff.Builder.setMaxElapsedTimeMillis(int maxElapsedTimeMillis)
Sets the maximum elapsed time in milliseconds.
|
ExponentialBackOff.Builder |
ExponentialBackOff.Builder.setMaxIntervalMillis(int maxIntervalMillis)
Sets the maximum value of the back off period in milliseconds.
|
ExponentialBackOff.Builder |
ExponentialBackOff.Builder.setMultiplier(double multiplier)
Sets the value to multiply the current interval with for each retry attempt.
|
ExponentialBackOff.Builder |
ExponentialBackOff.Builder.setNanoClock(NanoClock nanoClock)
Sets the nano clock (
NanoClock.SYSTEM by default). |
ExponentialBackOff.Builder |
ExponentialBackOff.Builder.setRandomizationFactor(double randomizationFactor)
Sets the randomization factor to use for creating a range around the retry interval.
|
Constructor and Description |
---|
ExponentialBackOff(ExponentialBackOff.Builder builder) |
Copyright © 2011–2023 Google. All rights reserved.