public class BeforeRetryExponentialBackoffTask extends Object implements Runnable
| Constructor and Description |
|---|
BeforeRetryExponentialBackoffTask(long backoffMillis)
Constructor for BeforeRetryExponentialBackoffTask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
This method causes the current thread to sleep for a duration which doubles
after each successive call.
|
public BeforeRetryExponentialBackoffTask(long backoffMillis)
Constructor for BeforeRetryExponentialBackoffTask.
backoffMillis - the amount of time to wait, in milliseconds before
retrying the first time. This is doubled for each subsequent retry. This
parameter must be above zero.Copyright © 2017 Atlassian. All rights reserved.