@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() |
void |
setInitialInterval(long initialInterval) |
void |
setMaxAttempts(int maxAttempts) |
void |
setMaxInterval(long maxInterval) |
void |
setMultiplier(double multiplier) |
String |
toString() |
public long getInitialInterval()
public double getMultiplier()
public long getMaxInterval()
public int getMaxAttempts()
public void setInitialInterval(long initialInterval)
public void setMultiplier(double multiplier)
public void setMaxInterval(long maxInterval)
public void setMaxAttempts(int maxAttempts)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.