Package-level declarations

Types

Link copied to clipboard
object Backoff

Deterministic exponential backoff for events.

Link copied to clipboard
class SyncEngine(context: Context, cfgProvider: () -> KioskOpsConfig, queue: QueueRepository, transport: Transport, logs: RingLog, telemetry: TelemetrySink, audit: PersistentAuditTrail, clock: Clock)

Fleet-ops sync engine.

Link copied to clipboard
data class SyncOnceResult(val attempted: Int, val sent: Int, val permanentFailed: Int, val transientFailed: Int, val rejected: Int)

Outcome of one sync flush attempt.

Link copied to clipboard
data class SyncPolicy(val enabled: Boolean, val endpointPath: String = "events/batch", val batchSize: Int = 50, val requireUnmeteredNetwork: Boolean = false, val maxAttemptsPerEvent: Int = 12, val connectTimeoutSeconds: Long = 15, val readTimeoutSeconds: Long = 30, val writeTimeoutSeconds: Long = 30, val callTimeoutSeconds: Long = 60)

Network sync policy.