sets thread pool to a given fraction of the available processors . concode_field_sep ThreadPoolExecutor pool concode_elem_sep Logger logger concode_elem_sep int tasks concode_field_sep ThreadPoolExecutor getThreadPool concode_elem_sep void setThreadPoolCPUsAvailable concode_elem_sep Future<T> submit concode_elem_sep Future<T> submit concode_elem_sep void setThreadPoolDefault concode_elem_sep void setThreadPool concode_elem_sep void shutdownAndAwaitTermination concode_elem_sep void setThreadPoolSingle concode_elem_sep void setThreadPoolSize concode_elem_sep void shutdown
void function ( float arg0 ) { setThreadPoolSize ( Math . max ( 1 , Math . round ( arg0 * Runtime . getRuntime ( ) . availableProcessors ( ) ) ) ) ; }