BootstrapRetryPolicy

org.sigilaris.node.jvm.runtime.consensus.hotstuff.BootstrapRetryPolicy
See theBootstrapRetryPolicy companion object
final case class BootstrapRetryPolicy(baseDelay: Duration, maxDelay: Duration)

Controls retry timing for bootstrap coordination attempts.

Value parameters

baseDelay

the base delay between retries

maxDelay

the maximum delay cap

Attributes

Companion
object
Source
BootstrapCoordinator.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def nextRetryAt(now: Instant, attempt: Int): Instant

Computes the next retry instant using linear backoff capped at maxDelay.

Computes the next retry instant using linear backoff capped at maxDelay.

Attributes

Source
BootstrapCoordinator.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product