176177178179180181182183184185186
{ pool.abortWhenBlocked(); } else if ( config.getWhenBlockedPolicy().equals( IPoolConfiguration.POLICY_DISCARDOLDEST ) ) { pool.discardOldestWhenBlocked(); } pool.createThreads( config.getStartUpSize() ); return new ThreadPool( pool, queue );