DelayStrategy that implements a simple fixed delay.
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | FixedDelay(long
value for the initial delay initialDelay, long value for all other delays subsequentDelay)Initialize a new |
| public | FixedDelay(int
value for all delays delay)Initialize a new |
| Modifier and Type | Method and Description |
|---|---|
| public long | nextDelay()
Implements ch. DelayStrategy for the next delay.
|
| nextDelay | back to summary |
|---|---|
| private long nextDelay | |
| subsequentDelay | back to summary |
|---|---|
| private final long subsequentDelay | |
| FixedDelay | back to summary |
|---|---|
| public FixedDelay(long initialDelay, long subsequentDelay) Initialize a new
| |
| FixedDelay | back to summary |
|---|---|
| public FixedDelay(int delay) Initialize a new
| |
| nextDelay | back to summary |
|---|---|
| public long nextDelay() Implements ch. Doc from ch. The value computed by this
| |