use of com.vip.saturn.job.threads.TaskQueue in project Saturn by vipshop.
the class JobScheduler method initExecutorService.
private void initExecutorService() {
ThreadFactory factory = new SaturnThreadFactory(jobName);
executorService = new ExtendableThreadPoolExecutor(0, 100, 2, TimeUnit.MINUTES, new TaskQueue(), factory);
}
Aggregations