SpringBoot 整合Quartz(集群)实现定时任务调度

上传者: 33914912 | 上传时间: 2022-07-12 09:54:00 | 文件大小: 35KB | 文件类型: RAR
1、若是部署多台机器,到了时间点,只有一台会执行,其他不会执行。 2、若多个节点其中一个scheduler执行job失败,将会被另外一个scheduler执行

文件下载

资源详情

[{"title":"( 43 个子文件 35KB ) SpringBoot 整合Quartz(集群)实现定时任务调度","children":[{"title":"quartz","children":[{"title":"pom.xml <span style='color:#111;'> 12.85KB </span>","children":null,"spread":false},{"title":"quartz.iml <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"target","children":[{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"test","children":[{"title":"quartz","children":[{"title":"AppTest.class <span style='color:#111;'> 477B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"test","children":[{"title":"quartz","children":[{"title":"quartz","children":[{"title":"QuartzJobManager.class <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"TestQuartzJob.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"QuartzJobUtils.class <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"JobView.class <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"application","children":[{"title":"CenterApplication$CustomGenerator.class <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"CenterApplication.class <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"configuration","children":[{"title":"MysqlConfig.class <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"QuartzConfiguration.class <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"properties","children":[{"title":"logback-spring.xml <span style='color:#111;'> 286B </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"application.yml <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"application-win.yml <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"application-linux.yml <span style='color:#111;'> 253B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"test","children":[{"title":"quartz","children":[{"title":"AppTest.java <span style='color:#111;'> 307B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"properties","children":[{"title":"logback-spring.xml <span style='color:#111;'> 286B </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"application.yml <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"application-win.yml <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"application-linux.yml <span style='color:#111;'> 253B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"test","children":[{"title":"quartz","children":[{"title":"quartz","children":[{"title":"TestQuartzJob.java <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"QuartzJobManager.java <span style='color:#111;'> 719B </span>","children":null,"spread":false},{"title":"QuartzJobUtils.java <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"JobView.java <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"application","children":[{"title":"CenterApplication.java <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"configuration","children":[{"title":"QuartzConfiguration.java <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"MysqlConfig.java <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"sonarlint","children":[{"title":"issuestore","children":[{"title":"index.pb <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"0","children":[{"title":"5","children":[{"title":"05f4ceb1852aa4d59a608280ced16c323e5c67d0 <span style='color:#111;'> 67B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"4","children":[{"title":"4","children":[{"title":"442292b8a7efeabbe4cc176709b833b1792140ec <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"c","children":[{"title":"6","children":[{"title":"c6d2d60ef0da925ba24783d11a44590c2731b7ad <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"c665ba8867d68ddf6a73f5ca5478a8ad1f15d599 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"7","children":[{"title":"2","children":[{"title":"725aca9c2bd3726b070132db2d8d8e67d934789c <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"2","children":[{"title":"b","children":[{"title":"2b2e380cbc304e92d2b50d256a005c897ff44733 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"f","children":[{"title":"1","children":[{"title":"f1e7d556fc7153fad6e5c2403daf239b61438f4c <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"d","children":[{"title":"e","children":[{"title":"de2ac92e6a46bcc935ace9b9b10533dc71343c0a <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"6","children":[{"title":"7","children":[{"title":"67231e5a9ec722f84e80ee9bb958b4a4c4753143 <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"workspace.xml <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"saveactions_settings.xml <span style='color:#111;'> 404B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"compiler.xml <span style='color:#111;'> 527B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明