Package org.jenkinsci.plugins.vsphere
Class AgentRecycler.Sweep
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
org.jenkinsci.plugins.vsphere.AgentRecycler.Sweep
- All Implemented Interfaces:
ExtensionPoint,Runnable
- Enclosing class:
AgentRecycler
Looks at all the agents once in a while: the end of a run is not the only way for an agent to become free.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnableNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay, initMethods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, runMethods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
Sweep
public Sweep()
-
-
Method Details
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriodin classPeriodicWork
-
doRun
protected void doRun()- Specified by:
doRunin classSafeTimerTask
-