BackoffStrategy

fun interface BackoffStrategy

A functional interface for calculating the delay before a transaction is retried due to deadlock.

Inheritors

Functions

Link copied to clipboard
abstract fun getDelay(attempt: Int): Long

Returns the delay in milliseconds to wait for after the given transaction attempt number.