Can we get clarification on below things. We searched over net but we are unable to conclude.
1) Assume that we created a job and cron trigger for this job. We set this trigger to fire for every two seconds(2 sec). First time trigger is fired and job is in running status. Here our question is, will trigger fires for every 2 seconds even though the same job is in running status? or will it wait for current job execution and then only get fired?
2) org.quartz.threadPool.threadCount : If we gives this count as 5 and assume that we scheduled 10 jobs. As we configured thread count as 5, at a time, only 5 jobs will execute in parallel?
3) How many jobs can we run in parallel using quartz? will it based on HW configuration?
1) A job will start every time its trigger fires, even if 'this' job is already running. Btw, you can use the TriggerListener and the JobListener to control trigger and job behaviour.
2) If you give to Quartz 5 workers, it will execute at most 5 job concurrently. If another job want to be executed, it will wait until a thread is free.
If you need to execute more jobs at the same time use more thread or multiple istance of Quartz.
3) I don't know but currently i use 20 threads on a Quartz instance and it works fine.