An interface to be implemented by a VM allocation policy that detects
Hostunder and over CPU utilization.
Author: Anton Beloglazov, Manoel Campos da Silva Filho
Gets the host CPU utilization threshold to detect over utilization. It is a percentage value from 0 to 1. Whether it is a static or dynamically defined threshold depends on each implementing class.
- host – the host to get the over utilization threshold
the over utilization threshold
Gets the percentage of total CPU utilization to indicate that a host is under used and its VMs have to be migrated.
Returns: the under utilization threshold (in scale is from 0 to 1, where 1 is 100%)
Sets the percentage of total CPU utilization to indicate that a host is under used and its VMs have to be migrated.
- underUtilizationThreshold – the under utilization threshold (in scale is from 0 to 1, where 1 is 100%)