Uses of Class
org.jenkinsci.plugins.vsphere.tools.HostWeights
Packages that use HostWeights
-
Uses of HostWeights in org.jenkinsci.plugins
Methods in org.jenkinsci.plugins that return HostWeightsModifier and TypeMethodDescriptionvSphereCloud.hostWeights()The four weights as one value;DEFAULTif none is set.Methods in org.jenkinsci.plugins with parameters of type HostWeightsModifier and TypeMethodDescriptionstatic HostSelectionOptionsvSphereCloud.hostSelectionOptions(vSphereCloud cloud, Boolean requireCores, Boolean requireMemory, Boolean requireAvailableMemory, HostWeights weightsOverride) As above, also with the host weights a call site set for itself: ifweightsOverrideis not null it replaces the cloud's weights as a whole, else the cloud's apply. -
Uses of HostWeights in org.jenkinsci.plugins.vsphere.tools
Fields in org.jenkinsci.plugins.vsphere.tools declared as HostWeightsModifier and TypeFieldDescriptionstatic final HostWeightsHostWeights.DEFAULTAll zero: the original ranking.Methods in org.jenkinsci.plugins.vsphere.tools that return HostWeightsModifier and TypeMethodDescriptionHostSelectionOptions.getWeights()What "most available host" means;DEFAULTfor the original ranking.static HostWeightsHostWeights.parseOverride(String freeCpuMhz, String freeCpuPercent, String freeMemoryMB, String freeMemoryPercent) Builds the weights a single call (build step or template) sets for itself from the text of its four settings, already variable-expanded.Methods in org.jenkinsci.plugins.vsphere.tools with parameters of type HostWeightsModifier and TypeMethodDescriptionVSphereHostSelection.pickBest(List<VSphereHostSelection.HostCandidate> candidates, HostWeights weights) The most available candidate according toVSphereHostSelection.rank(java.util.List<org.jenkinsci.plugins.vsphere.tools.VSphereHostSelection.HostCandidate>, org.jenkinsci.plugins.vsphere.tools.HostWeights), or null if none has statistics.static List<VSphereHostSelection.ScoredHost> VSphereHostSelection.rank(List<VSphereHostSelection.HostCandidate> candidates, HostWeights weights) Ranks the candidates that have usage statistics, most available first (equally scored ones keep their incoming order).HostSelectionOptions.withWeights(HostWeights weights) Same options, ranking the candidate hosts with these weights.