@ Override public synchronized void stop ( ) { Preconditions . checkNotNull ( getServer ( ) ) ; if ( getServer ( ) . isRunning ( ) ) { try { log . info ( "Stopping..." ) ; getServer ( ) . stop ( ) ; log . info ( "STOPPED." ) ; } catch ( Exception e ) { Throwable t = Throwables . getRootCause ( e ) ; log . error ( "Fathom failed on shutdown!" , t ) ; } } }
Stops Fathom synchronously .