FixedBackoffStrategy

A BackoffStrategy with a fixed delay.

It permits a delay of zero, which is appropriate for use with database servers that allow one of the deadlocked connections to proceed (thus guaranteeing forward progress) and where you only expect a small amount of lock contention.

Constructors

Link copied to clipboard
constructor(delay: Long)

Functions

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

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