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 classNodeProvisioner.NodeProvisionerInvokerPeriodically invoke NodeProvisionersstatic classNodeProvisioner.PlannedNodeThe node addition activity in progress.static classNodeProvisioner.StandardStrategyImplThe default strategy.static classNodeProvisioner.StrategyExtension point for node provisioning strategies.static classNodeProvisioner.StrategyDecisionRepresents the decision taken by an individualNodeProvisioner.Strategy.classNodeProvisioner.StrategyStateParameter 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.voidsuggestReviewNow()Give theNodeProvisionera 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 theNodeProvisionera hint that now would be a good time to think about provisioning some nodes. Hints are throttled to one every second.- Since:
- 1.415
-
-