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