Class RestartSupervisor$


  • public class RestartSupervisor$
    extends java.lang.Object
    • Field Summary

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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • MODULE$

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

      • RestartSupervisor$

        public RestartSupervisor$()
    • Method Detail

      • 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.
        Parameters:
        restartCount - (undocumented)
        minBackoff - (undocumented)
        maxBackoff - (undocumented)
        randomFactor - (undocumented)
        Returns:
        (undocumented)