sdk / com.memfault.cloud.sdk / ExponentialBackoff

ExponentialBackoff

class ExponentialBackoff

Constructors

<init>

ExponentialBackoff(baseDelay: Double, maxExponent: Int, initialExponent: Int = NO_DELAY_EXPONENT, factor: Double = 2.0)

Properties

baseDelay

var baseDelay: Double

delay

val delay: Double

exponent

var exponent: Int

factor

val factor: Double

maxExponent

val maxExponent: Int

Functions

copy

fun copy(baseDelay: Double): ExponentialBackoff

trackError

fun trackError(): Unit

trackSuccess

fun trackSuccess(): Unit