public BatchFraction defaultThreadPool ( final String name , final int maxThreads , final int keepAliveTime , final TimeUnit keepAliveUnits ) { threadPool ( name , maxThreads , keepAliveTime , keepAliveUnits ) ; return defaultThreadPool ( name ) ; }
Creates a new thread - pool and sets the created thread - pool as the default thread - pool for batch jobs .