Can more than one formula call ways to safely return once again?
I thought this problem was that I want to see the source code. Assuming that you are using a standard quartz configuration (works stored in RAM instead of a continuous jobstore), then it seems that the quartz thread is safe
to dig into the source Afterwards, you will eventually reach Ramjobostor, which stores all jobs and triggers in memory. Public Zero Storezobe Endridge (schedulingcontact CTXTek, Job Datback Newbab, Trigger Nutrigger) throws Jobproperty Expert {storeJob (ctxt, newJob, false); StoreTitter (ctxt, newTrigger, Incorrect); }
In each job (..) and in the storetrigger (..) manner, separate blocks synchronized for the storage of jobs with their unique objects and one thread protected methods Is triggered by:
synchronize (job lock) {if (! Repl) {// job group ...}}
and one Trigger is synchronizing:
Synchronize (trigger lock) {... synchronize (posed trigger group) {...}}
In short, This is For example, you can call the thread secure call for the Scheduler class
Comments
Post a Comment