FixedDelayRetry Interface
public interface FixedDelayRetry
Defines a retry strategy where a fixed delay is used between retries.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
delayInterval()
The delay between retries. |
int |
maxRetryCount()
The maximum number of retries that will be attempted. |
String |
strategy()
The strategy of retries that will be used internally. |
Method Details
delayInterval
public String delayInterval()
The delay between retries.
Returns:
The delay interval.
maxRetryCount
public int maxRetryCount()
The maximum number of retries that will be attempted.
Returns:
The delay between retries.
strategy
public String strategy() default "fixedDelay"
The strategy of retries that will be used internally.
Returns:
The strategy of retries.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.