code: public static void setThreadPoolSize(int threads) {
  		setThreadPool(   new ThreadPoolExecutor(threads, threads,
  									  0L, TimeUnit.MILLISECONDS,
  									  new LinkedBlockingQueue<Runnable>()));
  
  
  	}
docs: Sets thread pool to given size.
  
  @param threads number of threads in pool