com.atlassian.bamboo.build.monitoring
Class OrphanedBuildMonitorJobScheduler
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrphanedBuildMonitorJobScheduler
public OrphanedBuildMonitorJobScheduler(org.quartz.Scheduler scheduler,
int heartbeatTimeoutSeconds,
int heartbeatInterval)
initialiseSchedule
public void initialiseSchedule()
- Specified by:
initialiseSchedule
in interface BambooScheduler
Copyright © 2010 Atlassian. All Rights Reserved.