hudson.plugins.slave_squatter
Class Maintenance

java.lang.Object
  extended by java.util.TimerTask
      extended by hudson.triggers.SafeTimerTask
          extended by hudson.model.PeriodicWork
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
 
Constructor Summary
Maintenance()
           
 
Method Summary
protected  void doRun()
           
static Maintenance get()
           
 long getRecurrencePeriod()
           
 
Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay
 
Methods inherited from class hudson.triggers.SafeTimerTask
run
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maintenance

public Maintenance()
Method Detail

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.