Code example for ThreadPoolExecutor

0
		this.threadQueue = threadQueue; 
	} 
 
	@Override 
	public ExecutorService get() { 
		return new ThreadPoolExecutor(coreThreads, maxThreads, timeout, TimeUnit.MINUTES, threadQueue); 
	} 
 
}