public synchronized void setStatusAndNotify ( final LauncherStatus newStatus ) { LOG . log ( Level . FINEST , "Set status: {0} -> {1}" , new Object [ ] { this . status , newStatus } ) ; this . status = newStatus ; this . notify ( ) ; }
Update job status and notify the waiting thread .