- 博客(5)
- 收藏
- 关注
原创 elastic job原理解析-JobSchedule
jobScheduleschedulerFacade = new SchedulerFacade(regCenter, liteJobConfig.getJobName(), elasticJobListenerList);作业信息持久化调用serverService的persistOnline(enabled)方法,只有在job存在的情况下才会将job持久化到zk上。【enabled改作...
2020-01-08 21:51:38
934
原创 elastic job原理解析-SchedulerFacade
elastic job原理解析-SchedulerFacade(一)在elastic job原理解析-Scheduler中描述elastic job的相关quartz的操作,但是并没有牵扯到对于job的管理,如分片,主节点选举等。分片,job的状态的持久化等一些列操作是有schedulerFacade和jobFacade完成。schedulerFacade既然使用了facade模式那么必然sch...
2020-01-04 22:01:28
1009
原创 elastic job原理解析-JobSchedule
elastic job原理解析-JobSchedulejobschedule完成了很多和quartz相关的内容,并且也会将服务信息注册到zk上,并且做好相关的job信息的cache。在整个任务的调度中,jobSchedule完成了elastic job主干流程。JobScheduleelastic job在启动的时候需要注册bean,spring容器启动调用init的方法,完成初始化配置信息...
2020-01-02 08:08:51
754
原创 elastic job原理解析-JobSchedule
elastic job原理解析-JobSchedulejobschedule完成了很多和quartz相关的内容,并且也会将服务信息注册到zk上,并且做好相关的job信息的cache。在整个任务的调度中,jobSchedule完成了elastic job主干流程。JobScheduleelastic job在启动的时候需要注册bean schedule,调用init的方法,完成初始化配置信息...
2020-01-01 22:20:55
184
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人