static class RetrySimulator.StealingSleeper extends java.lang.Object implements Sleeper
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Long> |
sleeps |
| Constructor and Description |
|---|
StealingSleeper() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Long> |
getSleeps() |
void |
sleep(long backOffPeriod)
Pause for the specified period using whatever means available.
|
public void sleep(long backOffPeriod)
throws java.lang.InterruptedException
Sleeperpublic java.util.List<java.lang.Long> getSleeps()