@ConfigurationProperties(value="spring.cloud.consul.retry") public class RetryProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
Consul Retry Properties prefix.
|
Constructor and Description |
---|
RetryProperties() |
Modifier and Type | Method and Description |
---|---|
long |
getInitialInterval() |
int |
getMaxAttempts() |
long |
getMaxInterval() |
double |
getMultiplier() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setInitialInterval(long initialInterval) |
void |
setMaxAttempts(int maxAttempts) |
void |
setMaxInterval(long maxInterval) |
void |
setMultiplier(double multiplier) |
String |
toString() |
public static final String PREFIX
public boolean isEnabled()
public void setEnabled(boolean enabled)
public long getInitialInterval()
public void setInitialInterval(long initialInterval)
public double getMultiplier()
public void setMultiplier(double multiplier)
public long getMaxInterval()
public void setMaxInterval(long maxInterval)
public int getMaxAttempts()
public void setMaxAttempts(int maxAttempts)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.