Quartz Scheduler is configured to run every one hour. At 10 am thread1 starts and it is processing. At 11 am, thread2 starts but thread1 is not yet complete. Is there a possibility to identify that thread1 is not complete? After identifying we should be able to do either of these options
a. Do not start thread2 and leave thread1 to continue.
b. Kill thread1 and let thread2 to start.
Can anyone help me...
How can I achieve this
|