Class RetryProperties
- java.lang.Object
-
- org.springframework.cloud.config.client.RetryProperties
-
@ConfigurationProperties("spring.cloud.config.retry") public class RetryProperties extends Object- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description RetryProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetInitialInterval()intgetMaxAttempts()longgetMaxInterval()doublegetMultiplier()voidsetInitialInterval(long initialInterval)voidsetMaxAttempts(int maxAttempts)voidsetMaxInterval(long maxInterval)voidsetMultiplier(double multiplier)
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
ConfigurationProperties prefix.- See Also:
- Constant Field Values
-
-
Method Detail
-
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)
-
-