@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface MethodRetry
RetryOptions
are present on ActivityOptions
or ChildWorkflowOptions
the fields that are not
default take precedence over parameters of this annotation.Modifier and Type | Optional Element and Description |
---|---|
double |
backoffCoefficient
Coefficient used to calculate the next retry interval.
|
java.lang.String[] |
doNotRetry
List of failure types to not retry.
|
long |
initialIntervalSeconds
Interval of the first retry.
|
int |
maximumAttempts
Maximum number of attempts.
|
long |
maximumIntervalSeconds
Maximum interval between retries.
|
public abstract long initialIntervalSeconds
RetryOptions.Builder.setInitialInterval(Duration)
.public abstract double backoffCoefficient
public abstract int maximumAttempts
public abstract long maximumIntervalSeconds
initialIntervalSeconds()
.public abstract java.lang.String[] doNotRetry
ApplicationFailure