private void startWorkers ( ) { m_logger . info ( "Starting {} workers" , m_config . workers ) ; for ( int workerNo = 1 ; workerNo <= m_config . workers ; workerNo ++ ) { LoadWorker loadWorker = new LoadWorker ( workerNo ) ; loadWorker . start ( ) ; m_workerList . add ( loadWorker ) ; } }
Launch the requested number of workers . Quit if any can t be started .