| Package | Description |
|---|---|
| org.telegram.mtproto.backoff |
| Modifier and Type | Method and Description |
|---|---|
ApiErrorExponentialBackoff.Builder |
ApiErrorExponentialBackoff.Builder.setInitialIntervalMillis(int initialIntervalMillis)
Sets the initial retry interval in milliseconds.
|
ApiErrorExponentialBackoff.Builder |
ApiErrorExponentialBackoff.Builder.setMaxElapsedTimeMillis(int maxElapsedTimeMillis)
Sets the maximum elapsed time in milliseconds.
|
ApiErrorExponentialBackoff.Builder |
ApiErrorExponentialBackoff.Builder.setMaxIntervalMillis(int maxIntervalMillis)
Sets the maximum value of the back off period in milliseconds.
|
ApiErrorExponentialBackoff.Builder |
ApiErrorExponentialBackoff.Builder.setMultiplier(double multiplier)
Sets the value to multiply the current interval with for each retry attempt.
|
ApiErrorExponentialBackoff.Builder |
ApiErrorExponentialBackoff.Builder.setRandomizationFactor(double randomizationFactor)
Sets the randomization factor to use for creating a range around the retry interval.
|
| Constructor and Description |
|---|
ApiErrorExponentialBackoff(ApiErrorExponentialBackoff.Builder builder) |
Copyright © 2017. All rights reserved.