Class LoadBalancerInstaller
java.lang.Object
io.jenkins.plugins.smartexecutorloadbalancer.LoadBalancerInstaller
Installs
SmartLoadBalancer as the global Jenkins load balancer
after all extensions are registered.
The previously active balancer is captured and passed to
SmartLoadBalancer as its fallback, so:
- Jobs that opt out via
SmartLBJobPropertyare handled by the previous balancer (typically Jenkins' built-in consistent-hash). - Any unexpected scoring exception falls back safely instead of leaving builds stuck in the queue.
- If another balancer (e.g. leastload) was already installed, it becomes the fallback rather than being silently discarded.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LoadBalancerInstaller
public LoadBalancerInstaller()
-
-
Method Details
-
install
-