public abstract static class Retry.TimeUnitNextDelay extends Object implements Retry.NextDelay
| Modifier | Constructor and Description |
|---|---|
protected |
TimeUnitNextDelay(TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract long |
delay(int times) |
long |
next(int times) |
protected TimeUnitNextDelay(TimeUnit unit)
protected abstract long delay(int times)
public long next(int times)
next in interface Retry.NextDelaytimes - 第几次Copyright © 2020. All rights reserved.