@ConfigurationProperties(value="spring.cloud.consul.retry") public class RetryProperties extends Object
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 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 © 2020 Pivotal Software, Inc.. All rights reserved.