Class RestartSupervisor$

java.lang.Object
org.apache.pekko.actor.typed.internal.RestartSupervisor$

public class RestartSupervisor$ extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RestartSupervisor$
    Static reference to the singleton instance of this Scala object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    scala.concurrent.duration.FiniteDuration
    calculateDelay(int restartCount, scala.concurrent.duration.FiniteDuration minBackoff, scala.concurrent.duration.FiniteDuration maxBackoff, double randomFactor)
    Calculates an exponential back off delay.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE$

      public static final RestartSupervisor$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • RestartSupervisor$

      public RestartSupervisor$()
  • Method Details

    • calculateDelay

      public scala.concurrent.duration.FiniteDuration calculateDelay(int restartCount, scala.concurrent.duration.FiniteDuration minBackoff, scala.concurrent.duration.FiniteDuration maxBackoff, double randomFactor)
      Calculates an exponential back off delay.