Class NonLockingJobScheduler

  • All Implemented Interfaces:
    HeartBeatJobScheduler

    public class NonLockingJobScheduler
    extends QuartzJobScheduler
    This scheduler is responsible for the scheduling and unscheduling of non locking jobs NonLockingJob. All repository nodes in a cluster will send data for collectors which have jobs scheduled by this scheduler.
    Author:
    eknizat
    • Constructor Detail

      • NonLockingJobScheduler

        public NonLockingJobScheduler()
    • Method Detail

      • getJobDetailMap

        protected org.quartz.JobDataMap getJobDetailMap​(HBBaseDataCollector collector)
        Description copied from class: QuartzJobScheduler
        This method is called when a job is being scheduled by this scheduler for the given collector.
        The job is scheduled using the Job returned from QuartzJobScheduler.getHeartBeatJobClass() and the job map returned from this method, therefor the job map should provide what the job needs to execute.
        Specified by:
        getJobDetailMap in class QuartzJobScheduler
        Parameters:
        collector - The collector whose job is being scheduled.
        Returns:
        The job map returned from this method will be used to build up JobDetail for the job that is being scheduled.