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 NodeProvisioner.PlannedNode
s through Cloud
.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeProvisioner
public NodeProvisioner(Label label,
LoadStatistics loadStatistics)
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.
The hint will be ignored if subjected to excessive pestering by callers.
- Since:
- 1.415
Copyright © 2004-2013. All Rights Reserved.