public void restart ( FailureHandler failureHandler ) { if ( ! this . enabled ) { this . logger . debug ( "Application restart is disabled" ) ; return ; } this . logger . debug ( "Restarting application" ) ; getLeakSafeThread ( ) . call ( ( ) -> { Restarter . this . stop ( ) ; Restarter . this . start ( failureHandler ) ; return null ; } ) ; }
Restart the running application .