Class AkkaServerlessTestKit.Settings
- java.lang.Object
-
- com.akkaserverless.javasdk.testkit.AkkaServerlessTestKit.Settings
-
- Enclosing class:
- AkkaServerlessTestKit
public static class AkkaServerlessTestKit.Settings extends java.lang.ObjectSettings for AkkaServerlessTestkit.
-
-
Field Summary
Fields Modifier and Type Field Description static AkkaServerlessTestKit.SettingsDEFAULTDefault settings for AkkaServerlessTestkit.static java.time.DurationDEFAULT_STOP_TIMEOUTDefault stop timeout (10 seconds).java.time.DurationstopTimeoutTimeout setting for stopping the local Akka Serverless test instance.
-
Constructor Summary
Constructors Constructor Description Settings(java.time.Duration stopTimeout)Create new settings for AkkaServerlessTestkit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AkkaServerlessTestKit.SettingswithStopTimeout(java.time.Duration stopTimeout)Set a custom stop timeout, for stopping the local Akka Serverless test instance.
-
-
-
Field Detail
-
DEFAULT_STOP_TIMEOUT
public static java.time.Duration DEFAULT_STOP_TIMEOUT
Default stop timeout (10 seconds).
-
DEFAULT
public static AkkaServerlessTestKit.Settings DEFAULT
Default settings for AkkaServerlessTestkit.
-
stopTimeout
public final java.time.Duration stopTimeout
Timeout setting for stopping the local Akka Serverless test instance.
-
-
Method Detail
-
withStopTimeout
public AkkaServerlessTestKit.Settings withStopTimeout(java.time.Duration stopTimeout)
Set a custom stop timeout, for stopping the local Akka Serverless test instance.- Parameters:
stopTimeout- timeout to use when waiting for Akka Serverless to stop- Returns:
- updated Settings
-
-