public synchronized boolean shutdown ( long timeout , TimeUnit unit ) throws InterruptedException { boolean success = true ; if ( success ) { LOGGER_ . info ( "ELK reasoner has shut down" ) ; } else { LOGGER_ . error ( "ELK reasoner failed to shut down!" ) ; } return success ; }
Tries to shut down the reasoner within the specified time