Uses of Class
com.yahoo.config.provision.Capacity
-
-
Uses of Capacity in com.yahoo.config.provision
Methods in com.yahoo.config.provision that return Capacity Modifier and Type Method Description static Capacity
Capacity. fromCount(int nodeCount, NodeResources resources)
Create a non-required, failable capacity requeststatic Capacity
Capacity. fromCount(int nodeCount, NodeResources resources, boolean required, boolean canFail)
static Capacity
Capacity. fromCount(int nodeCount, java.util.Optional<NodeResources> resources, boolean required, boolean canFail)
static Capacity
Capacity. fromNodeCount(int capacity)
Creates this from a desired node count: The request may be satisfied with a smaller number of nodes.static Capacity
Capacity. fromNodeCount(int nodeCount, java.util.Optional<java.lang.String> flavor, boolean required, boolean canFail)
Deprecated.static Capacity
Capacity. fromRequiredNodeType(NodeType type)
Creates this from a node typeMethods in com.yahoo.config.provision with parameters of type Capacity Modifier and Type Method Description java.util.List<HostSpec>
Provisioner. prepare(ApplicationId applicationId, ClusterSpec cluster, Capacity capacity, int groups, ProvisionLogger logger)
Prepares allocation of a set of hosts with a given type, common id and the amount.
-