Packages

c

com.digitalasset.canton.config

DeadlockDetectionConfig

final case class DeadlockDetectionConfig(enabled: Boolean = true, interval: time.NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(3), warnInterval: time.NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(10)) extends Product with Serializable

Deadlock detection configuration

A simple deadlock detection method. Using a background scheduler, we schedule a trivial future on the EC. If the Future is not executed until we check again, we alert.

enabled

if true, we'll monitor the EC for deadlocks (or slow processings)

interval

how often we check the EC

warnInterval

how often we report a deadlock as still being active

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeadlockDetectionConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DeadlockDetectionConfig(enabled: Boolean = true, interval: time.NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(3), warnInterval: time.NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(10))

    enabled

    if true, we'll monitor the EC for deadlocks (or slow processings)

    interval

    how often we check the EC

    warnInterval

    how often we report a deadlock as still being active

Value Members

  1. val enabled: Boolean
  2. val interval: time.NonNegativeFiniteDuration
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val warnInterval: time.NonNegativeFiniteDuration