Class TestKit$

java.lang.Object
org.apache.pekko.testkit.javadsl.TestKit$

public class TestKit$ extends Object
  • Field Details

    • MODULE$

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

    • TestKit$

      public TestKit$()
  • Method Details

    • shutdownActorSystem

      public void shutdownActorSystem(ActorSystem actorSystem, scala.concurrent.duration.Duration duration, boolean verifySystemShutdown)
      Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.

      If verifySystemShutdown is true, then an exception will be thrown on failure.

    • shutdownActorSystem

      public void shutdownActorSystem(ActorSystem actorSystem)
      Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.
    • shutdownActorSystem

      public void shutdownActorSystem(ActorSystem actorSystem, scala.concurrent.duration.Duration duration)
      Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.
    • shutdownActorSystem

      public void shutdownActorSystem(ActorSystem actorSystem, boolean verifySystemShutdown)
      Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.

      If verifySystemShutdown is true, then an exception will be thrown on failure.

    • shutdownActorSystem

      public void shutdownActorSystem(ActorSystem actorSystem, Duration duration)
      Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.

      The duration is dilated by the timefactor. This overloaded method accepts java.time.Duration.

      If verifySystemShutdown is true, then an exception will be thrown on failure.

      Since:
      1.3.0
    • shutdownActorSystem

      public void shutdownActorSystem(ActorSystem actorSystem, Duration duration, boolean verifySystemShutdown)
      Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.

      The duration is dilated by the timefactor. This overloaded method accepts java.time.Duration.

      Since:
      1.3.0