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.
|
Modifier and Type | Method and Description |
---|---|
static ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.builder()
Returns an instance of a new builder.
|
ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.Builder.setInitialIntervalMillis(int initialIntervalMillis)
Sets the initial retry interval in milliseconds.
|
ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.Builder.setMaxElapsedTimeMillis(int maxElapsedTimeMillis)
Sets the maximum elapsed time in milliseconds.
|
ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.Builder.setMaxIntervalMillis(int maxIntervalMillis)
Sets the maximum value of the back off period in milliseconds.
|
ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.Builder.setMultiplier(double multiplier)
Sets the value to multiply the current interval with for each retry attempt.
|
ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.Builder.setNanoClock(NanoClock nanoClock)
Sets the nano clock (
NanoClock.SYSTEM by default). |
ExponentialBackOffPolicy.Builder |
ExponentialBackOffPolicy.Builder.setRandomizationFactor(double randomizationFactor)
Sets the randomization factor to use for creating a range around the retry interval.
|
Constructor and Description |
---|
ExponentialBackOffPolicy(ExponentialBackOffPolicy.Builder builder) |
Copyright © 2011-2013 Google. All Rights Reserved.