public static class BayeuxClient.BackOffStrategy.Constant extends Object implements BayeuxClient.BackOffStrategy
A back off strategy that always returns the same wait time.
BayeuxClient.BackOffStrategy.Constant, BayeuxClient.BackOffStrategy.Linear| Constructor and Description |
|---|
Constant(long delay) |
| Modifier and Type | Method and Description |
|---|---|
long |
current() |
long |
next() |
void |
reset()
Resets the wait time.
|
public long current()
current in interface BayeuxClient.BackOffStrategyBayeuxClient.BackOffStrategy.next(),
BayeuxClient.BackOffStrategy.reset()public long next()
next in interface BayeuxClient.BackOffStrategyBayeuxClient.BackOffStrategy.current()public void reset()
BayeuxClient.BackOffStrategyreset in interface BayeuxClient.BackOffStrategyCopyright © 2008–2025 The CometD Project. All rights reserved.