History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QUARTZ-368
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: James House
Reporter: Jasper Rosenberg
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Quartz Scheduler

When deleting job after last trigger is deleted, don't check again if job has triggers

Created: 16/Mar/06 08:12 AM   Updated: 24/Dec/07 01:30 AM
Component/s: Job Stores
Affects Version/s: 1.6, 1.5.2
Fix Version/s: 1.6


 Description  « Hide
Factor out the code that deletes the job and its listeners from removeJob() into private helper method deleteJobAndChildren().

That way, in removeTrigger(), when it is the last trigger removed for a non-durable job, it can call deleteJobAndChildren() instead of removeJob() and therefore skip removeJob()'s attempt to remove the job's triggers (of which we already know there are none).


 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.