Uses of Interface
org.cloudsimplus.autoscaling.VerticalVmScaling
Package | Description |
---|---|
org.cloudbus.cloudsim.allocationpolicies |
Provides classes that implement policies for a
Datacenter
to select a Host to place or migrate a VM, based on some criteria defined by each class. |
org.cloudbus.cloudsim.vms |
Provides implementations of Virtual Machines (
Vm )
which are a software package that emulate the architecture of a physical machine. |
org.cloudsimplus.autoscaling |
Provides classes to enable horizontal and vertical scaling
of VMs in order to, respectively, adapt resource requirements to current workload
and to balance load across different VMs.
|
org.cloudsimplus.autoscaling.resources |
Provides
ResourceScaling classes
that are used by a VerticalVmScaling
to define how the scaling of a Resource it is in charge
will be performed. |
-
Uses of VerticalVmScaling in org.cloudbus.cloudsim.allocationpolicies
Methods in org.cloudbus.cloudsim.allocationpolicies with parameters of type VerticalVmScaling Modifier and Type Method Description boolean
VmAllocationPolicy. scaleVmVertically(VerticalVmScaling scaling)
Try to scale some Vm's resource vertically up or down, respectively if: the Vm is overloaded and the Host where the Vm is placed has enough capacity the Vm is underloaded The resource to be scaled is defined by the givenVerticalVmScaling
object.boolean
VmAllocationPolicyAbstract. scaleVmVertically(VerticalVmScaling scaling)
-
Uses of VerticalVmScaling in org.cloudbus.cloudsim.vms
Methods in org.cloudbus.cloudsim.vms that return VerticalVmScaling Modifier and Type Method Description VerticalVmScaling
Vm. getBwVerticalScaling()
Gets aVerticalVmScaling
that will check if the Vm's Bandwidth is overloaded, based on some conditions defined by aPredicate
given to the VerticalVmScaling, and then request the BW up scaling.VerticalVmScaling
VmSimple. getBwVerticalScaling()
VerticalVmScaling
Vm. getPeVerticalScaling()
Gets aVerticalVmScaling
that will check if the Vm'sPe
is overloaded, based on some conditions defined by aPredicate
given to the VerticalVmScaling, and then request the RAM up scaling.VerticalVmScaling
VmSimple. getPeVerticalScaling()
VerticalVmScaling
Vm. getRamVerticalScaling()
Gets aVerticalVmScaling
that will check if the Vm's RAM is overloaded, based on some conditions defined by aPredicate
given to the VerticalVmScaling, and then request the RAM up scaling.VerticalVmScaling
VmSimple. getRamVerticalScaling()
Methods in org.cloudbus.cloudsim.vms with parameters of type VerticalVmScaling Modifier and Type Method Description Vm
Vm. setBwVerticalScaling(VerticalVmScaling bwVerticalScaling)
Sets aVerticalVmScaling
that will check if the Vm'sBandwidth
is under or overloaded, based on some conditions defined byPredicate
s given to the VerticalVmScaling, and then request the Bandwidth up or down scaling.Vm
VmSimple. setBwVerticalScaling(VerticalVmScaling bwVerticalScaling)
Vm
Vm. setPeVerticalScaling(VerticalVmScaling peVerticalScaling)
Sets aVerticalVmScaling
that will check if the Vm'sPe
is under or overloaded, based on some conditions defined byPredicate
s given to the VerticalVmScaling, and then request the Pe up or down scaling.Vm
VmSimple. setPeVerticalScaling(VerticalVmScaling peVerticalScaling)
Vm
Vm. setRamVerticalScaling(VerticalVmScaling ramVerticalScaling)
Sets aVerticalVmScaling
that will check if the Vm'sRam
is under or overloaded, based on some conditions defined byPredicate
s given to the VerticalVmScaling, and then request the RAM up or down scaling.Vm
VmSimple. setRamVerticalScaling(VerticalVmScaling ramVerticalScaling)
-
Uses of VerticalVmScaling in org.cloudsimplus.autoscaling
Classes in org.cloudsimplus.autoscaling that implement VerticalVmScaling Modifier and Type Class Description class
VerticalVmScalingSimple
AVerticalVmScaling
implementation which allows aDatacenterBroker
to perform on demand up or down scaling for someVm
resource, such asRam
,Pe
orBandwidth
.Fields in org.cloudsimplus.autoscaling declared as VerticalVmScaling Modifier and Type Field Description static VerticalVmScaling
VerticalVmScaling. NULL
An attribute that implements the Null Object Design Pattern forVerticalVmScaling
objects.Methods in org.cloudsimplus.autoscaling that return VerticalVmScaling Modifier and Type Method Description VerticalVmScaling
VerticalVmScaling. setLowerThresholdFunction(Function<Vm,Double> lowerThresholdFunction)
VerticalVmScaling
VerticalVmScalingSimple. setLowerThresholdFunction(Function<Vm,Double> lowerThresholdFunction)
VerticalVmScaling
VerticalVmScaling. setResourceClass(Class<? extends ResourceManageable> resourceClass)
Sets the class of Vm resource that this scaling object will request up or down scaling.VerticalVmScaling
VerticalVmScalingSimple. setResourceClass(Class<? extends ResourceManageable> resourceClass)
VerticalVmScaling
VerticalVmScaling. setResourceScaling(ResourceScaling resourceScaling)
Sets theResourceScaling
that defines how the resource has to be resized.VerticalVmScaling
VerticalVmScalingSimple. setResourceScaling(ResourceScaling resourceScaling)
Sets theResourceScaling
that defines how the resource has to be resized.VerticalVmScaling
VerticalVmScaling. setScalingFactor(double scalingFactor)
Sets the factor that will be used to scale a Vm resource up or down, whether such a resource is over or underloaded, according to the defined predicates.VerticalVmScaling
VerticalVmScalingSimple. setScalingFactor(double scalingFactor)
VerticalVmScaling
VerticalVmScaling. setUpperThresholdFunction(Function<Vm,Double> upperThresholdFunction)
VerticalVmScaling
VerticalVmScalingSimple. setUpperThresholdFunction(Function<Vm,Double> upperThresholdFunction)
-
Uses of VerticalVmScaling in org.cloudsimplus.autoscaling.resources
Methods in org.cloudsimplus.autoscaling.resources with parameters of type VerticalVmScaling Modifier and Type Method Description double
ResourceScaling. getResourceAmountToScale(VerticalVmScaling vmScaling)
Computes the amount of resource to scale up or down, depending if the resource is over or underloaded, respectively.double
ResourceScalingGradual. getResourceAmountToScale(VerticalVmScaling vmScaling)
double
ResourceScalingInstantaneous. getResourceAmountToScale(VerticalVmScaling vmScaling)