Package org.jenkinsci.plugins.vsphere
Class VSpherePreProvisonWork
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.model.AsyncPeriodicWork
org.jenkinsci.plugins.vsphere.VSpherePreProvisonWork
- All Implemented Interfaces:
ExtensionPoint,Runnable
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class VSpherePreProvisonWork
extends AsyncPeriodicWork
A
AsyncPeriodicWork that pre-provisions nodes to meet insntanceMin template value.
The async work will check the number of active nodes and provision additional ones to meet template values. The check is happening every 2 minutes.
-
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.AsyncPeriodicWork
nameFields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel, queueIfAlreadyRunningMethods 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
-
VSpherePreProvisonWork
public VSpherePreProvisonWork()
-
-
Method Details
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriodin classPeriodicWork
-
execute
- Specified by:
executein classAsyncPeriodicWork
-