Class LeastLoadBalancer

java.lang.Object
hudson.model.LoadBalancer
org.bstick12.jenkinsci.plugins.leastload.LeastLoadBalancer
All Implemented Interfaces:
ExtensionPoint

public class LeastLoadBalancer extends LoadBalancer
A LoadBalancer implementation that the leastload plugin uses to replace the default Jenkins LoadBalancer

The LeastLoadBalancer chooses Executors that have the least load. An Executor is defined as having the least load if it is idle or has the most available Executors

If for any reason we are unsuccessful in creating a MappingWorksheet.Mapping we fall back on the default Jenkins LoadBalancer.CONSISTENT_HASH and try to use that.

Author:
brendan.nolan@gmail.com