Uses of Class
com.yahoo.config.provision.Capacity
Packages that use Capacity
-
Uses of Capacity in com.yahoo.config.provision
Methods in com.yahoo.config.provision that return CapacityModifier and TypeMethodDescriptionstatic CapacityCapacity.from(ClusterResources resources) Create a non-required, failable capacity requeststatic CapacityCapacity.from(ClusterResources resources, boolean required, boolean canFail) static CapacityCapacity.from(ClusterResources resources, boolean required, boolean canFail, Duration hostTTL) static CapacityCapacity.from(ClusterResources min, ClusterResources max) Create a non-required, failable capacity requeststatic CapacityCapacity.from(ClusterResources min, ClusterResources max, boolean required, boolean canFail) static CapacityCapacity.from(ClusterResources min, ClusterResources max, boolean required, boolean canFail, Optional<CloudAccount> cloudAccount) static CapacityCapacity.from(ClusterResources min, ClusterResources max, IntRange groupSize) static CapacityCapacity.from(ClusterResources min, ClusterResources max, IntRange groupSize, boolean required, boolean canFail, Optional<CloudAccount> cloudAccount) static CapacityCapacity.from(ClusterResources min, ClusterResources max, IntRange groupSize, boolean required, boolean canFail, Optional<CloudAccount> cloudAccount, ClusterInfo clusterInfo) static CapacityCapacity.fromRequiredNodeType(NodeType type) Creates this from a node typeCapacity.withLimits(ClusterResources min, ClusterResources max) Capacity.withLimits(ClusterResources min, ClusterResources max, IntRange groupSize) Methods in com.yahoo.config.provision with parameters of type CapacityModifier and TypeMethodDescriptionCapacityPolicies.decideExclusivity(Capacity capacity, ClusterSpec requestedCluster) Returns whether the nodes requested can share physical host with other applicationsProvisioner.prepare(ApplicationId applicationId, ClusterSpec cluster, Capacity capacity, ProvisionLogger logger) Prepares allocation of a set of hosts with a given type, common id and the amount.