public void setThreadPoolSize( int threads ) {
		if( threads <= 0 )
			throw new IllegalArgumentException("Number of threads must be greater than 0");
		if( verbose )
			Log.i(TAG,"setThreadPoolSize("+threads+")");

		threadPool.setCorePoolSize(threads);
		threadPool.setMaximumPoolSize(threads);
	}
public void setThreadPoolSize ( int threads ) { if ( threads <= 0 ) throw new IllegalArgumentException ( "Number of threads must be greater than 0" ) ; if ( verbose ) Log . i ( TAG , "setThreadPoolSize(" + threads + ")" ) ; threadPool . setCorePoolSize ( threads ) ; threadPool . setMaximumPoolSize ( threads ) ; }
Specifies the number of threads in the thread-pool. If this is set to a value greater than
one you better know how to write concurrent code or else you're going to have a bad time.