private void kill ( ) { Set copy = new HashSet ( registeredWachdogs . values ( ) ) ; Iterator iter = copy . iterator ( ) ; while ( iter . hasNext ( ) ) { Watchdog th = ( Watchdog ) iter . next ( ) ; if ( th . isAlive ( ) ) { if ( log . isInfoEnabled ( ) ) { log . info ( ". . . Killing Watchdog " + th . getId ( ) ) ; } th . kill ( ) ; } } this . joinAllThreads ( ) ; // remove all Watchdogs frim the registry .... iter = copy . iterator ( ) ; while ( iter . hasNext ( ) ) { this . deregisterWatchdog ( ( IWatchdog ) iter . next ( ) ) ; } }
killt alle Threads der Gruppe