executor.setCorePoolSize(threadPoolSize);
executor.setMaxPoolSize(threadPoolSize);
executor.setQueueCapacity(0);
executor.initialize();
ThreadPoolEngineRunner runner = new ThreadPoolEngineRunner();
runner.setIdleTime(idleTime);
runner.setFetchSize(threadPoolSize);
runner.setExecutor(executor);
return runner;
}