Uses of Class
io.dapr.durabletask.RetryPolicy
Packages that use RetryPolicy
-
Uses of RetryPolicy in io.dapr.durabletask
Methods in io.dapr.durabletask that return RetryPolicyModifier and TypeMethodDescriptionTaskOptions.getRetryPolicy()Gets the configuredRetryPolicyvalue ornullif none was configured.RetryPolicy.setBackoffCoefficient(double backoffCoefficient) Sets the exponential backoff coefficient used to determine the delay between subsequent retries.RetryPolicy.setFirstRetryInterval(Duration firstRetryInterval) Sets the amount of time to delay between the first and second attempt.RetryPolicy.setMaxNumberOfAttempts(int maxNumberOfAttempts) Sets the maximum number of task invocation attempts; must be 1 or greater.RetryPolicy.setMaxRetryInterval(Duration maxRetryInterval) Sets the maximum time to delay between attempts.RetryPolicy.setRetryTimeout(Duration retryTimeout) Sets the overall timeout for retries, regardless of the retry count.Methods in io.dapr.durabletask with parameters of type RetryPolicyModifier and TypeMethodDescriptionTaskOptions.Builder.retryPolicy(RetryPolicy retryPolicy) Sets the retry policy for the task options.static TaskOptionsTaskOptions.withRetryPolicy(RetryPolicy retryPolicy) Creates a newTaskOptionsobject from aRetryPolicy.