Class TestKit$


  • public class TestKit$
    extends java.lang.Object
    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.

    • Field Summary

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

      Constructors 
      Constructor Description
      TestKit$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void shutdownActorSystem​(ActorSystem actorSystem)
      Shut down an actor system and wait for termination.
      void shutdownActorSystem​(ActorSystem actorSystem, boolean verifySystemShutdown)
      Shut down an actor system and wait for termination.
      void shutdownActorSystem​(ActorSystem actorSystem, scala.concurrent.duration.Duration duration)
      Shut down an actor system and wait for termination.
      void shutdownActorSystem​(ActorSystem actorSystem, scala.concurrent.duration.Duration duration, boolean verifySystemShutdown)  
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • TestKit$

        public TestKit$()
    • Method Detail

      • shutdownActorSystem

        public void shutdownActorSystem​(ActorSystem actorSystem,
                                        scala.concurrent.duration.Duration duration,
                                        boolean verifySystemShutdown)
      • 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.
        Parameters:
        actorSystem - (undocumented)
      • 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.
        Parameters:
        actorSystem - (undocumented)
        duration - (undocumented)
      • 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.

        Parameters:
        actorSystem - (undocumented)
        verifySystemShutdown - (undocumented)