Retry options may be specified as optional argument to write
.
An R6Class
object
retryJitter
Maximum number of random milliseconds included in delay. Default is 0
.
retryInterval
First retry delay in seconds. Default is 5
.
maxDelay
Maximum delay between retries in seconds. Default is 125
.
maxRetryTime
Maximum time to spend retrying in seconds. Default is 180
.
maxAttempts
Number of retry attempts. Default is 5
.
exponentialBase
Base for exponential backoff strategy. Default is 2
.
new()
Creates instance of RetryOptions
.
RetryOptions$new(
retryJitter = 0,
retryInterval = 5,
maxDelay = 125,
maxRetryTime = 180,
maxAttempts = 5,
exponentialBase = 2,
...
)
clone()
The objects of this class are cloneable with this method.
RetryOptions$clone(deep = FALSE)
deep
Whether to make a deep clone.