java - Difference between Quartz Thread Pool and Task Executor -


i'm working in spring-quartz batch. i'm trying implement multi-threading batch application.

i come across 2 possible way of multi threading,

  1. use quartz thread pool
  2. use task executors.

i used quartz thread pool , working fine wondering advantage if implement task executor.

i'm doing xml configuration.

please suggest me should used , benefit of 1 on other.

thanks

i choose task executors if need keep n workers picking pieces of work common queue. advantage not need external libraries this. quartz thread pool created before java 5 - why exists.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -