Package org.apache.pekko.testkit.javadsl
Class TestKit$
java.lang.Object
org.apache.pekko.testkit.javadsl.TestKit$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshutdownActorSystem(ActorSystem actorSystem) Shut down an actor system and wait for termination.voidshutdownActorSystem(ActorSystem actorSystem, boolean verifySystemShutdown) Shut down an actor system and wait for termination.voidshutdownActorSystem(ActorSystem actorSystem, Duration duration) Shut down an actor system and wait for termination.voidshutdownActorSystem(ActorSystem actorSystem, Duration duration, boolean verifySystemShutdown) Shut down an actor system and wait for termination.voidshutdownActorSystem(ActorSystem actorSystem, scala.concurrent.duration.Duration duration) Shut down an actor system and wait for termination.voidshutdownActorSystem(ActorSystem actorSystem, scala.concurrent.duration.Duration duration, boolean verifySystemShutdown) Shut down an actor system and wait for termination.
-
Field Details
-
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
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
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
Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.The
durationis dilated by the timefactor. This overloaded method acceptsjava.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
durationis dilated by the timefactor. This overloaded method acceptsjava.time.Duration.- Since:
- 1.3.0
-