Class OrphanedBuildMonitorJobScheduler
- java.lang.Object
-
- com.atlassian.bamboo.build.monitoring.OrphanedBuildMonitorJobScheduler
-
- All Implemented Interfaces:
BambooScheduler
public class OrphanedBuildMonitorJobScheduler extends 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
Constructors Constructor Description OrphanedBuildMonitorJobScheduler(org.quartz.Scheduler scheduler, int heartbeatTimeoutSeconds, int heartbeatInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialiseSchedule()
-
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
-
-
-
-
Method Detail
-
initialiseSchedule
public void initialiseSchedule()
- Specified by:
initialiseSchedule
in interfaceBambooScheduler
-
-