Bases: dict
Handler for updates to compute node workload stats.
Calculate current load of the compute host based on task states.
Apply stats provided as a dict or a json encoded string.
Calculate an I/O based load by counting I/O heavy operations.
Update stats after an instance is changed.