public void restart ( Long id ) { Watchdog wd = ( Watchdog ) this . registeredWachdogs . get ( id ) ; if ( wd == null ) { throw new IllegalStateException ( "Watchdog " + id + " ist not registered" ) ; } wd . restart ( ) ; }
restart the Watchdog with the given id