Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quartz StatefulJob / non-StatefulJob

Would you please explain to me the exact mean of the StatefulJob in quartz and it's difference with none StatefulJob?

like image 265
mirzaei Avatar asked Aug 11 '12 09:08

mirzaei


1 Answers

StatefulJob interface, provides 2 things,

first: only one job will be run any time

second: in (SimpleTriggerBean) you will not worry about your job running duration. it means that the next run will be done after delay time after ending of previous one.

like image 167
user1567615 Avatar answered Sep 19 '22 11:09

user1567615