Class SystemLoadMonitor

All Implemented Interfaces:
ExtensionPoint, Runnable

@Extension public class SystemLoadMonitor extends AsyncPeriodicWork
Periodically polls the 1-minute system load average from every online node via the remoting channel and caches the result in memory.

SmartLoadBalancer reads this cache synchronously during scheduling so there is no per-schedule I/O.

On Windows agents, getSystemLoadAverage() returns -1 (unsupported). We treat -1 as 0.0 so Windows nodes are not penalised.