quartz启动流程
2022-07-28 16:29:38 0 举报
quartz启动流程
作者其他创作
大纲/内容
QuartzSchedulerThread
JTAAnnotationAwareJobRunShellFactory
bind()
getScheduler()获取调度容器对象
initialize()根据quartz.properties初始化配置信息
StdScheduler
JobStoreTX
JobStoreSupport
initialize()
createWorkerThreads(count)
initialize(scheduler)
QuartzScheduler
ClassLoadHelper
run()
StdSchedulerFactory
initialize(Properties props)
loadHelper.loadClass(tpClass).newInstance()
setLockHandler(Semaphore lockHandler)
runInThread(shell)
loadHelper.loadClass(jsClass).newInstance()
StdRowLockSemaphore
new JTAAnnotationAwareJobRunShellFactory()
创建线程池创建JobStore创建jobFactory创建JobRunShellFactory创建Scheduler容器
WorkerThread
run(runnable)
SimpleThreadPool
loadClass(classLoadHelperClass)
createJobRunShell(bndle)
new StdScheduler(qs)
0 条评论
回复 删除
下一页