Package akka.pattern
Class RetrySettings$
- java.lang.Object
-
- akka.pattern.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.
-
-
-
Field Detail
-
MODULE$
public static final RetrySettings$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
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.
-
-