Class BuildQueueMonitorJobScheduler

java.lang.Object
com.atlassian.bamboo.quartz.cluster.ClusterAwareJob
com.atlassian.bamboo.build.monitoring.BuildQueueMonitorJobScheduler
All Implemented Interfaces:
org.quartz.Job

public class BuildQueueMonitorJobScheduler extends ClusterAwareJob
User: mwent Date: May 19, 2009 Time: 2:04:41 PM
  • Constructor Details

    • BuildQueueMonitorJobScheduler

      public BuildQueueMonitorJobScheduler()
  • Method Details

    • scheduleBuildQueueMonitoring

      public void scheduleBuildQueueMonitoring() throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException
    • executeBody

      public void executeBody(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException
      Description copied from class: ClusterAwareJob
      This is the job real work to be performed. Every job that is based on this parent cluster aware job needs to implement this method and place here stuff that would be normally put in #execute(JobExecutionContext)
      Specified by:
      executeBody in class ClusterAwareJob
      Throws:
      org.quartz.JobExecutionException
    • executionMode

      protected JobExecutionMode executionMode()
      Description copied from class: ClusterAwareJob
      Determines the execution mode for this job.

      The execution mode defines how this job should execute in a clustered environment. Implementations should return the appropriate mode based on their execution requirements (e.g., LOCAL, PRIMARY, or CLUSTERED).

      Specified by:
      executionMode in class ClusterAwareJob
    • setScheduler

      public void setScheduler(org.quartz.Scheduler scheduler)
    • setBuildQueueMonitor

      public void setBuildQueueMonitor(BuildQueueMonitor buildQueueMonitor)
    • setBuildQueueCheckInterval

      public void setBuildQueueCheckInterval(int buildQueueCheckInterval)