| Package | Description |
|---|---|
| org.telegram.telegrambots.updatesreceivers |
| 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.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 © 2017. All rights reserved.