开发者

How do I add to my Quartz Job DisallowConcurrenExecution?

How do I add to my Quartz Job DisallowConcurrenExecution?

I am new to Quar开发者_如何学Ctz 2.0, but I implemented a StatefulJob


If you implement StatefulJob, then you automatically inherit the @DisallowConcurrenExecution annotation.

You can instead tag your class with the annotation (and other related annotation for re-persisting the JobDataMap after execution) - and not implement StatefulJob and have the same affect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜