com.atlassian.bamboo.build.monitoring
Class OrphanedBuildMonitorJobScheduler

java.lang.Object
  extended by com.atlassian.bamboo.build.monitoring.OrphanedBuildMonitorJobScheduler
All Implemented Interfaces:
BambooScheduler

public class OrphanedBuildMonitorJobScheduler
extends java.lang.Object
implements BambooScheduler

This class looks for orphaned builds - i.e. builds that claim to be in a certain state, but from server status it's clear that they will never be able to make transition out of that state. Currently, the following situations are detected: - Build claims to be queued, but it's not in the queue for an extended period of time. - Build claims to be active, but there is no agent that's actually building it


Constructor Summary
OrphanedBuildMonitorJobScheduler(org.quartz.Scheduler scheduler, int heartbeatTimeoutSeconds, int heartbeatInterval)
           
 
Method Summary
 void initialiseSchedule()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrphanedBuildMonitorJobScheduler

public OrphanedBuildMonitorJobScheduler(org.quartz.Scheduler scheduler,
                                        int heartbeatTimeoutSeconds,
                                        int heartbeatInterval)
Method Detail

initialiseSchedule

public void initialiseSchedule()
Specified by:
initialiseSchedule in interface BambooScheduler


Copyright © 2011 Atlassian. All Rights Reserved.