Class RetryUtil

java.lang.Object
com.google.cloud.spring.core.util.RetryUtil

@InternalApi public class RetryUtil extends Object
Utility methods for retry settings.
  • Method Details

    • updateRetrySettings

      public static com.google.api.gax.retrying.RetrySettings updateRetrySettings(com.google.api.gax.retrying.RetrySettings oldRetrySettings, Retry newRetry)
      Updates a RetrySettings based on configuration properties.
      Parameters:
      oldRetrySettings - the existing RetrySettings object to update
      newRetry - the Retry object containing configured property override values
      Returns:
      the updated RetrySettings object