Learn R Programming

influxdbclient (version 0.1.2)

RetryOptions: RetryOptions

Description

Retry options may be specified as optional argument to write.

Arguments

Format

An R6Class object

Public fields

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.

Methods


Method new()

Creates instance of RetryOptions.

Usage

RetryOptions$new(
  retryJitter = 0,
  retryInterval = 5,
  maxDelay = 125,
  maxRetryTime = 180,
  maxAttempts = 5,
  exponentialBase = 2,
  ...
)


Method clone()

The objects of this class are cloneable with this method.

Usage

RetryOptions$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.