Quartz核心类图
2018-11-01 13:49:35 3 举报
根据quartz源码整理出的核心类图
作者其他创作
大纲/内容
SchedulerFactory
+ getScheduler():Scheduler
StdJobRunShellFactory
- scheduler:Scheduler
Trigger
JobExecutionContext
+ getScheduler():Scheduler+ getTrigger():Trigger+ getCalendar():Calendar+ getMergedJobDataMap():DataMap
JobListener
RAMJobStore
# jobsByKey:HashMap# triggersByKey:HashMap# timeTriggers:TreeSet# blockedJobs:HashSet# signaler:SchedulerSignaler
JobRunShell
# jec:JobExecutionContextImpl# qs:QuartzScheduler# scheduler:Scheduler
+ run()+ initialize(QuartzScheduler sched)
QuartzSchedulerResources
- jobStore:JobStore- jobRunShellFactory:JobRunShellFactory- threadPool:ThreadPool- schedulerPlugins:List
SimpleTrigger
JobStore
SchedulerListenerSupport
SchedulerListener
Job
+ execute(JobExecutionContext)
JobRunShellFactory
+ initialize(Scheduler)+ createJobRunShell(TriggerFiredBundle):JobRunShell
Scheduler
ListenerManager
+ addJobListener(JobListener)+ addTriggerListener(TriggerListener)+ addSchedulerListener(SchedulerListener)+ removeJobListener(String)
Matcher
+ isMatch(T)+ hashCode()+ equals(Object)
TriggerListener
QuartzSchedulerThread
- qs:QuartzScheduler- qsRsrcs:QuartzSchedulerResources
+ run()- halt(boolean wait)- togglePause(boolean pause)+ signalSchedulingChange()
JobStoreTX
JobExecutionContextImpl
- scheduler:Scheduler- trigger:Trigger- jobDetail:JobDetail- jobDataMap:JobDataMap- job:Job- calendar:Calendar
StdScheduler
- sched:QuartzScheduler
EverythingMatcher
CronTrigger
StdSchedulerFactory
+ initialize()- instantiate()
SampledStatistics
+ getJobsScheduledMostRecentSample()+ getJobsExecutingMostRecentSample()+ getJobsCompletedMostRecentSample()+ shutdown()
JobStoreSupport
- delegate:DriverDelegate- misfireHandler:MisfireHandler- schedSignaler:SchedulerSignaler
# getConnection()+ getDataSource()
JobDetail
StringMatcher
QuartzScheduler
- resources:QuartzSchedulerResources- schedThread:QuartzSchedulerThread- context:SchedulerContext- listenerManager:ListenerManager- jobFactory:JobFactory- signaler:SchedulerSignaler
SampledStatisticsImpl
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
收藏
0 条评论
回复 删除
下一页