User Tools

Site Tools


development:mdc:mdc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
development:mdc:mdc [2021/12/14 22:44] slawrencedevelopment:mdc:mdc [2021/12/14 22:44] (current) slawrence
Line 3: Line 3:
  
 1.  ReScheduler is set via @Scheduled(fixedDelayString = "10000") 1.  ReScheduler is set via @Scheduled(fixedDelayString = "10000")
-<div>+
  i.   Holds Autowired instances of the scheduleRepo (to get data), scheduler (to schedule things), and scheduleJobListener (to respond to things)  i.   Holds Autowired instances of the scheduleRepo (to get data), scheduler (to schedule things), and scheduleJobListener (to respond to things)
  ii.  Obtains a list of schedules from the Schedule table  ii.  Obtains a list of schedules from the Schedule table
Line 13: Line 13:
  This essentially launches all 'Schedules' at startup, but not ScheduleConfig defined tasks per element/customer/tech, etc.  This essentially launches all 'Schedules' at startup, but not ScheduleConfig defined tasks per element/customer/tech, etc.
  
-</div> 
 2.  SchedulerJobListener is fired when a schedule hits and executes 'jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)' 2.  SchedulerJobListener is fired when a schedule hits and executes 'jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)'
  i.   If etcd defines this handler as a leader, then...  i.   If etcd defines this handler as a leader, then...
development/mdc/mdc.1639521868.txt.gz · Last modified: 2021/12/14 22:44 by slawrence