Package hudson.slaves

Class NodeProvisioner


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

      • NodeProvisioner

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

      • 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