Class HBSendDataScheduler


  • public final class HBSendDataScheduler
    extends Object
    Schedule/start/stop the heartbeat sender job.
    Author:
    Ancuta Morarasu
    • Constructor Detail

      • HBSendDataScheduler

        public HBSendDataScheduler​(HBDataSenderService service,
                                   org.quartz.CronExpression cronExpression)
                            throws org.quartz.SchedulerException
        Throws:
        org.quartz.SchedulerException
    • Method Detail

      • scheduleJob

        public void scheduleJob()
        Triggers the job that sends the heartbeat data to the server.
      • stopJob

        public void stopJob()
      • getCronExpression

        public org.quartz.CronExpression getCronExpression()