protected final void addWorkers(int number) throws Exception {
  for (int i=0; i < number; i++) {
    WorkerThread worker=WorkerThread.newInstance();
    addWorker(worker);
  }
}

protected final void addWorkers ( int number ) throws Exception { for ( int i = 0 ; i < number ; i ++ ) { WorkerThread worker = WorkerThread . newInstance ( ) ; addWorker ( worker ) ; } }
creates n workerthread instances without starting them .
