Class RetryUtil
java.lang.Object
com.google.cloud.spring.core.util.RetryUtil
Utility methods for retry settings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.api.gax.retrying.RetrySettings
updateRetrySettings
(com.google.api.gax.retrying.RetrySettings oldRetrySettings, Retry newRetry) Updates aRetrySettings
based on configuration properties.
-
Method Details
-
updateRetrySettings
public static com.google.api.gax.retrying.RetrySettings updateRetrySettings(com.google.api.gax.retrying.RetrySettings oldRetrySettings, Retry newRetry) Updates aRetrySettings
based on configuration properties.- Parameters:
oldRetrySettings
- the existingRetrySettings
object to updatenewRetry
- theRetry
object containing configured property override values- Returns:
- the updated
RetrySettings
object
-