effectively close the executor so no new runnable is accepted and tries to terminate all the running thread for 2 seconds . threads must catch interruptedexception and check the interrupted flag and stop if it 's thread was interrupted . concode_field_sep SimpleDateFormat format concode_field_sep void sleep concode_elem_sep void sleep concode_elem_sep void log concode_elem_sep void writeAndSleep concode_elem_sep void writeAndSleep concode_elem_sep long startTimer concode_elem_sep void stopTimer
void function ( ExecutorService arg0 ) { shutdownAndAwaitTermination ( arg0 , 2 ) ; }