public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) { shutdownActorSystem(actorSystem, duration, null); } public void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) {
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); } public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) {
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); }
public void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) { shutdownActorSystem(actorSystem, null, verifySystemShutdown); }
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); }
public static void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) { shutdownActorSystem(actorSystem, null, verifySystemShutdown); }
public static void shutdownActorSystem(ActorSystem actorSystem, Duration duration) { shutdownActorSystem(actorSystem, duration, null); }
public static void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) { shutdownActorSystem(actorSystem, null, verifySystemShutdown); }
public static void shutdownActorSystem(ActorSystem actorSystem, Duration duration) { shutdownActorSystem(actorSystem, duration, null); }
@AfterClass public static void teardown() { JavaTestKit.shutdownActorSystem(system); }
/** * Shut down an actor system and wait for termination. * On failure debug output will be logged about the remaining actors in the system. * <p> * * If verifySystemShutdown is true, then an exception will be thrown on failure. */ public void shutdown(ActorSystem actorSystem, Duration duration, Boolean verifySystemShutdown) { boolean vss = verifySystemShutdown != null ? verifySystemShutdown : false; Duration dur = duration != null ? duration : dilated(FiniteDuration.create(5, TimeUnit.SECONDS)).min(FiniteDuration.create(10, TimeUnit.SECONDS)); JavaTestKit.shutdownActorSystem(actorSystem, dur, vss); }
/** * Shut down an actor system and wait for termination. On failure debug output will be logged * about the remaining actors in the system. * * <p>If verifySystemShutdown is true, then an exception will be thrown on failure. */ public void shutdown(ActorSystem actorSystem, Duration duration, Boolean verifySystemShutdown) { boolean vss = verifySystemShutdown != null ? verifySystemShutdown : false; Duration dur = duration != null ? duration : dilated(FiniteDuration.create(5, TimeUnit.SECONDS)) .min(FiniteDuration.create(10, TimeUnit.SECONDS)); JavaTestKit.shutdownActorSystem(actorSystem, dur, vss); }
/** * Shut down an actor system and wait for termination. On failure debug output will be logged * about the remaining actors in the system. * * <p>If verifySystemShutdown is true, then an exception will be thrown on failure. */ public void shutdown(ActorSystem actorSystem, Duration duration, Boolean verifySystemShutdown) { boolean vss = verifySystemShutdown != null ? verifySystemShutdown : false; Duration dur = duration != null ? duration : dilated(FiniteDuration.create(5, TimeUnit.SECONDS)) .min(FiniteDuration.create(10, TimeUnit.SECONDS)); JavaTestKit.shutdownActorSystem(actorSystem, dur, vss); }
public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) { shutdownActorSystem(actorSystem, duration, null); } public void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) {
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); } public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) {
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); } public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) {
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); } public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) {
public void shutdownActorSystem(ActorSystem actorSystem, Duration duration) { shutdownActorSystem(actorSystem, duration, null); } public void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) {
public static void shutdownActorSystem(ActorSystem actorSystem) { shutdownActorSystem(actorSystem, null, null); } 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. * <p> * * If verifySystemShutdown is true, then an exception will be thrown on failure. */ public void shutdown(ActorSystem actorSystem, Duration duration, Boolean verifySystemShutdown) { boolean vss = verifySystemShutdown != null ? verifySystemShutdown : false; Duration dur = duration != null ? duration : dilated(FiniteDuration.create(5, TimeUnit.SECONDS)).min(FiniteDuration.create(10, TimeUnit.SECONDS)); JavaTestKit.shutdownActorSystem(actorSystem, dur, vss); }