mengxh1990 / javaweb_note

learn about java web
0 stars 0 forks source link

work memo #6

Open mengxh1990 opened 6 years ago

mengxh1990 commented 6 years ago

1, 规则里删除和创建job,调用的是什么接口?应该是同时更新job info和quartz表。

2, trigger delay too long之后,重新注册,怎么获取注册信息?

3, mayFireAgain

4, JobStoreSupport.updateMisfiredTrigger()

5, QuartzScheduler.rescheduleJob, QuartzScheduler.resumeJob 看上面两个函数是在哪调用的

6,

            long misfireTime = System.currentTimeMillis();
            if (getMisfireThreshold() > 0) {
                misfireTime -= getMisfireThreshold();
            }

            if (trig.getNextFireTime().getTime() > misfireTime) {
                return false;
            }

nextFireTime在misfireTime阈值内,就不算Misfired

7, misfire和trigger delay too long有什么关系?? 延迟超过misfireThreshold的才会misfire,那trigger delay too long又是什么? 判断为misfire的入口在哪里? resumeJob最终调用的updateAfterMisfire, updateAfterMisfire的作用是更新trigger state。

mengxh1990 commented 6 years ago

testforquartz.cpva7yj0bcea.ap-southeast-1.rds.amazonaws.com

beta-trust-db-master01.cpva7yj0bcea.ap-southeast-1.rds.amazonaws.com 101t

mengxh1990 commented 6 years ago

mysql -uroot -p123456.Password -h beta-trust-db-master01.cpva7yj0bcea.ap-southeast-1.rds.amazonaws.com

mengxh1990 commented 6 years ago

2018/5/8 20:41:37