public void shutdown ( ) { synchronized ( lock ) { logger . debug ( "Pool {} received shutdown message" , poolid ) ; shutdown = true ; hasMessage = true ; lock . notify ( ) ; // NOPMD - ignore notifyall() warning } }
Terminates this intention selector thread .