@ Override public void close ( ) { synchronized ( this ) { LOG . log ( Level . FINER , "Close launcher: job {0} with status {1}" , new Object [ ] { this . theJob , this . status } ) ; if ( this . status . isRunning ( ) ) { this . status = LauncherStatus . FORCE_CLOSED ; } if ( null != this . theJob ) { this . theJob . close ( ) ; } this . notify ( ) ; } LOG . log ( Level . FINEST , "Close launcher: shutdown REEF" ) ; this . reef . close ( ) ; LOG . log ( Level . FINEST , "Close launcher: done" ) ; }
Kills the running job .