queue = new ArrayBlockingQueue<Runnable>(getMaxQueued());
}
ThreadPoolExecutor result = new ThreadPoolExecutor(minThreads,
maxThreads, getMaxThreadIdleTimeMs(), TimeUnit.MILLISECONDS,
queue, new LoggingThreadFactory(getLogger(), true));
result.setRejectedExecutionHandler(new RejectedExecutionHandler() {
public void rejectedExecution(Runnable r,
ThreadPoolExecutor executor) {
getLogger().warning(
"Unable to run the following "