Class ExponentialBackoffDelayOptions
- java.lang.Object
-
- io.smallrye.reactive.messaging.mqtt.session.ExponentialBackoffDelayOptions
-
- All Implemented Interfaces:
ReconnectDelayOptions
public class ExponentialBackoffDelayOptions extends Object implements ReconnectDelayOptions
-
-
Constructor Summary
Constructors Constructor Description ExponentialBackoffDelayOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReconnectDelayOptions
copy()
ReconnectDelayProvider
createProvider()
Duration
getIncrement()
Duration
getMaximum()
Duration
getMinimum()
ExponentialBackoffDelayOptions
setIncrement(Duration increment)
ExponentialBackoffDelayOptions
setMaximum(Duration maximum)
ExponentialBackoffDelayOptions
setMinimum(Duration minimum)
-
-
-
Method Detail
-
setIncrement
public ExponentialBackoffDelayOptions setIncrement(Duration increment)
-
getIncrement
public Duration getIncrement()
-
setMaximum
public ExponentialBackoffDelayOptions setMaximum(Duration maximum)
-
getMaximum
public Duration getMaximum()
-
setMinimum
public ExponentialBackoffDelayOptions setMinimum(Duration minimum)
-
getMinimum
public Duration getMinimum()
-
createProvider
public ReconnectDelayProvider createProvider()
- Specified by:
createProvider
in interfaceReconnectDelayOptions
-
copy
public ReconnectDelayOptions copy()
- Specified by:
copy
in interfaceReconnectDelayOptions
-
-