hudson.plugins.slave_squatter
Class Maintenance
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.plugins.slave_squatter.Maintenance
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
@Extension
public class Maintenance
- extends hudson.model.PeriodicWork
Runs every so often to adjust the reservation.
- Author:
- Kohsuke Kawaguchi
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
Methods inherited from class hudson.model.PeriodicWork |
all, getInitialDelay |
Methods inherited from class hudson.triggers.SafeTimerTask |
run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maintenance
public Maintenance()
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in class hudson.model.PeriodicWork
doRun
protected void doRun()
throws Exception
- Specified by:
doRun
in class hudson.triggers.SafeTimerTask
- Throws:
Exception
get
public static Maintenance get()
Copyright © 2004-2011. All Rights Reserved.