sdk / com.memfault.cloud.sdk / ChunkErrorTracker

ChunkErrorTracker

class ChunkErrorTracker

Constructors

<init>

ChunkErrorTracker(backoff: ExponentialBackoff = ExponentialBackoff(1.0, maxExponent = 10), getElapsedRealtimeMillis: () -> Long = ::elapsedRealtime)

Properties

baseDelaySeconds

var baseDelaySeconds: Long

consecutiveErrorCount

var consecutiveErrorCount: Int

Functions

nextDelay

fun nextDelay(): Long?

trackError

fun trackError(): Int

trackSuccess

fun trackSuccess(): Unit