Package org.cloudsimplus.automation
Class PolicyLoader
java.lang.Object
org.cloudsimplus.automation.PolicyLoader
Dynamically creates instances of classes such as
VmScheduler, VmAllocationPolicy,
CloudletScheduler, ResourceProvisioner and others from the class name of
the object to be instantiated.- Author:
- Manoel Campos da Silva Filho
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.cloudsimplus.schedulers.cloudlet.CloudletSchedulerstatic org.cloudsimplus.provisioners.PeProvisionerstatic org.cloudsimplus.provisioners.ResourceProvisionerstatic org.cloudsimplus.utilizationmodels.UtilizationModelutilizationModel(String classSuffix) static org.cloudsimplus.allocationpolicies.VmAllocationPolicystatic org.cloudsimplus.schedulers.vm.VmSchedulervmScheduler(String classSuffix)
-
Constructor Details
-
PolicyLoader
public PolicyLoader()
-
-
Method Details
-
vmScheduler
public static org.cloudsimplus.schedulers.vm.VmScheduler vmScheduler(String classSuffix) throws RuntimeException - Throws:
RuntimeException
-
newResourceProvisioner
public static org.cloudsimplus.provisioners.ResourceProvisioner newResourceProvisioner(HostRegistry hr) throws RuntimeException - Throws:
RuntimeException
-
newPeProvisioner
public static org.cloudsimplus.provisioners.PeProvisioner newPeProvisioner(HostRegistry hr) throws RuntimeException - Throws:
RuntimeException
-
vmAllocationPolicy
public static org.cloudsimplus.allocationpolicies.VmAllocationPolicy vmAllocationPolicy(DatacenterRegistry dcr) throws RuntimeException - Throws:
RuntimeException
-
cloudletScheduler
public static org.cloudsimplus.schedulers.cloudlet.CloudletScheduler cloudletScheduler(VmRegistry vmr) throws RuntimeException - Throws:
RuntimeException
-
utilizationModel
public static org.cloudsimplus.utilizationmodels.UtilizationModel utilizationModel(String classSuffix) throws RuntimeException - Throws:
RuntimeException
-