public interface ISimpleVMBehaviourInferrer
| Modifier and Type | Method and Description |
|---|---|
SimpleVMBehaviour |
getBehaviour(double from,
double to)
Get the behaviour of a VM with Specs stated in the instantiation of the Behaviour inference engine, assuming a simplified resource model.
|
SimpleVMBehaviour |
getBehaviour(String vmUuuid,
double from,
double to)
Get the behaviour of the specified VM, assuming a simplified resource model.
|
TreeMap<Double,IntervalBehaviourValues> |
getBehaviour(String vmUuid,
int numberCores,
int memory,
String hdType,
String appType)
Get the behaviour of a VM with Specs stated in the instantiation of the Behaviour inference engine, assuming a simplified resource model.
|
SimpleVMBehaviour getBehaviour(String vmUuuid, double from, double to)
from,to).
The times are specified in simulation time seconds relative to the starting point of the simulation (0s).vmUuuid - The UUID of the VM in the CACTOS infrastructure model.from - Start time of the time interval for which the behaviour is fetched. Must be greater or equal to zero.to - End time of the time interval for which the behaviour is fetched. Must be greater than from.SimpleVMBehaviour getBehaviour(double from, double to)
from,to).
The times are specified in simulation time seconds relative to the starting point of the simulation (0s).from - Start time of the time interval for which the behaviour is fetched. Must be greater or equal to zero.to - End time of the time interval for which the behaviour is fetched. Must be greater than from.TreeMap<Double,IntervalBehaviourValues> getBehaviour(String vmUuid, int numberCores, int memory, String hdType, String appType) throws IOException
numberCores - is the number of cores in the VMmemory - is the size of the memory allocated to the VMhdType - is the HD type, should evaluate to either "HDD" or "SSD"appType - is the Application for which the model is needed. Should evaluate to either "Wiki", "MolPro", "Playgen" or "BlackBox"IOException