Class BlockingQuartzJob

  • All Implemented Interfaces:
    org.quartz.Job

    public class BlockingQuartzJob
    extends Object
    implements org.quartz.Job
    A Quartz job that checks if execution is currently suspended before passing on to the underlying job
    Author:
    kwalker
    • Constructor Detail

      • BlockingQuartzJob

        public BlockingQuartzJob()
    • Method Detail

      • execute

        public void execute​(org.quartz.JobExecutionContext jobExecutionContext)
                     throws org.quartz.JobExecutionException
        Specified by:
        execute in interface org.quartz.Job
        Throws:
        org.quartz.JobExecutionException
      • isBlockoutAction

        protected boolean isBlockoutAction​(org.quartz.JobExecutionContext ctx)
      • makeAuditRecord

        protected void makeAuditRecord​(float time,
                                       String messageType,
                                       org.quartz.JobExecutionContext jobExecutionContext)