Package hudson.slaves
Class NodeProvisioner
- java.lang.Object
-
- hudson.slaves.NodeProvisioner
-
public class NodeProvisioner extends Object
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeProvisioner.NodeProvisionerInvoker
Periodically invoke NodeProvisionersstatic class
NodeProvisioner.PlannedNode
The node addition activity in progress.static class
NodeProvisioner.StandardStrategyImpl
The default strategy.static class
NodeProvisioner.Strategy
Extension point for node provisioning strategies.static class
NodeProvisioner.StrategyDecision
Represents the decision taken by an individualNodeProvisioner.Strategy
.class
NodeProvisioner.StrategyState
Parameter object forNodeProvisioner.Strategy
.
-
Constructor Summary
Constructors Constructor Description NodeProvisioner(Label label, LoadStatistics loadStatistics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NodeProvisioner.PlannedNode>
getPendingLaunches()
Nodes that are being launched.void
suggestReviewNow()
Give theNodeProvisioner
a hint that now would be a good time to think about provisioning some nodes.
-
-
-
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 theNodeProvisioner
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
-
-