public class ExponentialBackoffDelayOptions extends Object implements ReconnectDelayOptions
Constructor and Description |
---|
ExponentialBackoffDelayOptions() |
Modifier and Type | Method and Description |
---|---|
ReconnectDelayOptions |
copy() |
ReconnectDelayProvider |
createProvider() |
Duration |
getIncrement() |
Duration |
getMaximum() |
Duration |
getMinimum() |
ExponentialBackoffDelayOptions |
setIncrement(Duration increment) |
ExponentialBackoffDelayOptions |
setMaximum(Duration maximum) |
ExponentialBackoffDelayOptions |
setMinimum(Duration minimum) |
public ExponentialBackoffDelayOptions setIncrement(Duration increment)
public Duration getIncrement()
public ExponentialBackoffDelayOptions setMaximum(Duration maximum)
public Duration getMaximum()
public ExponentialBackoffDelayOptions setMinimum(Duration minimum)
public Duration getMinimum()
public ReconnectDelayProvider createProvider()
createProvider
in interface ReconnectDelayOptions
public ReconnectDelayOptions copy()
copy
in interface ReconnectDelayOptions
Copyright © 2018–2021 SmallRye. All rights reserved.