java – Quartz StatefulJob / non-StatefulJob

Can you explain to me the exact average value of statefuljob in quartz, which is different from that without statefuljob?

Solution

Statefuljob interface, which provides two things,

First: only one job can be run at any time

Second: in simple trigger bean, you won't worry about your work running time This means that the next run will be completed after the delay time after the previous run

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>