Package org.springframework.cloud.consul
Class RetryProperties
java.lang.Object
org.springframework.cloud.consul.RetryProperties
- Author:
- Spencer Gibb
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
long
double
boolean
void
setEnabled
(boolean enabled) void
setInitialInterval
(long initialInterval) void
setMaxAttempts
(int maxAttempts) void
setMaxInterval
(long maxInterval) void
setMultiplier
(double multiplier) toString()
-
Field Details
-
PREFIX
Consul Retry Properties prefix.- See Also:
-
-
Constructor Details
-
RetryProperties
public RetryProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getInitialInterval
public long getInitialInterval() -
setInitialInterval
public void setInitialInterval(long initialInterval) -
getMultiplier
public double getMultiplier() -
setMultiplier
public void setMultiplier(double multiplier) -
getMaxInterval
public long getMaxInterval() -
setMaxInterval
public void setMaxInterval(long maxInterval) -
getMaxAttempts
public int getMaxAttempts() -
setMaxAttempts
public void setMaxAttempts(int maxAttempts) -
toString
-