[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
concurrent execution  XML
Forum Index -> Quartz
Author Message
mikew01

neo

Joined: 07/02/2010 06:40:26
Messages: 4
Offline

Hi

I have a system where some jobs are time based e.g. occur every n minutes and some jobs are quantity based e.g. happen every time value x reaches n.
I have hit an issue where jobs for the same target are running concurrently i.e. a time based job and a quantity based job which causes consistency issues.
I use the @DisallowConcurrentExecution annotation on the job but the job details/job keys are different so this doesn't accommodate my situation.

Is there a standard way of dealing with this situation or do I need to implement my own method of ensuring jobs for the same target don't collide?

Thanks
shazia1

neo

Joined: 10/21/2014 21:33:26
Messages: 7
Offline

Hi mike,

I am facing exactly same problem. I want to disallow the concurrent execution on the basis of job GROUP instead of JOBKEY.

Did you find any solution of that, then plz share.

Regards,
Shazia.
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team