Class AkkaServerlessTestkit.Settings

  • Enclosing class:
    AkkaServerlessTestkit

    public static class AkkaServerlessTestkit.Settings
    extends java.lang.Object
    Settings for AkkaServerlessTestkit.
    • 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.Settings withStopTimeout​(java.time.Duration stopTimeout)
      Set a custom stop timeout, for stopping the local Akka Serverless test instance.
      • Methods inherited from class java.lang.Object

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

      • DEFAULT_STOP_TIMEOUT

        public static java.time.Duration DEFAULT_STOP_TIMEOUT
        Default stop timeout (10 seconds).
      • stopTimeout

        public final java.time.Duration stopTimeout
        Timeout setting for stopping the local Akka Serverless test instance.
    • Constructor Detail

      • Settings

        public Settings​(java.time.Duration stopTimeout)
        Create new settings for AkkaServerlessTestkit.
        Parameters:
        stopTimeout - timeout to use when waiting for Akka Serverless to stop
    • 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