public static void shutDownActorSystemForce ( ) { if ( ! actorSystem . isTerminated ( ) ) { logger . info ( "shutting down actor system..." ) ; actorSystem . shutdown ( ) ; actorSystem . awaitTermination ( timeOutDuration ) ; logger . info ( "Actor system has been shut down." ) ; } else { logger . info ( "Actor system has been terminated already. NO OP." ) ; } }
Shut down actor system force .