Package hudson.slaves

Class NodeProvisioner

java.lang.Object
hudson.slaves.NodeProvisioner

public class NodeProvisioner extends Object
Uses the LoadStatistics and determines when we need to allocate new Nodes through Cloud.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • NodeProvisioner

      public NodeProvisioner(@CheckForNull Label label, LoadStatistics loadStatistics)
  • Method Details

    • getPendingLaunches

      public List<NodeProvisioner.PlannedNode> getPendingLaunches()
      Nodes that are being launched.
      Returns:
      Can be empty but never null
      Since:
      1.401
    • suggestReviewNow

      public void suggestReviewNow()
      Give the NodeProvisioner a hint that now would be a good time to think about provisioning some nodes. Hints are throttled to one every second.
      Since:
      1.415