/** * 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); }
/** * 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); }
/** * 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); }