Package akka.pattern

Class RetrySettings$


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

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

      Constructors 
      Constructor Description
      RetrySettings$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RetrySettings apply​(int maxRetries)
      Scala API: Create settings with exponential backoff delay between retries.
      RetrySettings apply​(com.typesafe.config.Config config)
      Scala API: Create settings from configuration.
      RetrySettings create​(int maxRetries)
      Scala API: Create settings with exponential backoff delay between retries.
      RetrySettings create​(com.typesafe.config.Config config)
      Java API: Create settings from configuration.
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • RetrySettings$

        public RetrySettings$()
    • Method Detail

      • apply

        public RetrySettings apply​(int maxRetries)
        Scala API: Create settings with exponential backoff delay between retries. The exponential backoff settings are calculated based on number of retries.
        Parameters:
        maxRetries - maximum number of retries
        Returns:
        RetrySettings with exponential backoff delay
      • create

        public RetrySettings create​(int maxRetries)
        Scala API: Create settings with exponential backoff delay between retries. The exponential backoff settings are calculated based on number of retries.
        Parameters:
        maxRetries - maximum number of retries
        Returns:
        RetrySettings with exponential backoff delay
      • apply

        public RetrySettings apply​(com.typesafe.config.Config config)
        Scala API: Create settings from configuration.
      • create

        public RetrySettings create​(com.typesafe.config.Config config)
        Java API: Create settings from configuration.