Class OrphanedBuildMonitorJobScheduler
java.lang.Object
com.atlassian.bamboo.build.monitoring.OrphanedBuildMonitorJobScheduler
- All Implemented Interfaces:
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
ConstructorDescriptionOrphanedBuildMonitorJobScheduler
(org.quartz.Scheduler scheduler, int heartbeatTimeoutSeconds, int heartbeatInterval) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.schedule.BambooScheduler
destroySchedule
-
Constructor Details
-
OrphanedBuildMonitorJobScheduler
public OrphanedBuildMonitorJobScheduler(org.quartz.Scheduler scheduler, int heartbeatTimeoutSeconds, int heartbeatInterval)
-
-
Method Details
-
initialiseSchedule
public void initialiseSchedule()- Specified by:
initialiseSchedule
in interfaceBambooScheduler
-