Class SpringAiRetryProperties
java.lang.Object
org.springframework.ai.autoconfigure.retry.SpringAiRetryProperties
- Author:
- Christian Tzolov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Exponential Backoff properties. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setExcludeOnHttpCodes
(List<Integer> onHttpCodes) void
setMaxAttempts
(int maxAttempts) void
setOnClientErrors
(boolean onClientErrors)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
SpringAiRetryProperties
public SpringAiRetryProperties()
-
-
Method Details
-
getMaxAttempts
public int getMaxAttempts() -
setMaxAttempts
public void setMaxAttempts(int maxAttempts) -
getBackoff
-
getExcludeOnHttpCodes
-
setExcludeOnHttpCodes
-
isOnClientErrors
public boolean isOnClientErrors() -
setOnClientErrors
public void setOnClientErrors(boolean onClientErrors)
-