All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.core.retry.RetryStrategyPicker Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
package com.databricks.sdk.core.retry;

import com.databricks.sdk.core.http.Request;

/** This interface is used to pick the appropriate retry strategy for a given request. */
public interface RetryStrategyPicker {
  /**
   * This method is used to get the retry strategy for a given request.
   *
   * @param request The request for which the retry strategy is needed.
   * @return The retry strategy for the given request.
   */
  RetryStrategy getRetryStrategy(Request request);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy