Uses of Interface
org.cloudsimplus.autoscaling.VerticalVmScaling
Package
Description
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.Provides implementations of Virtual Machines (
Vm
)
which are a software package that emulate the architecture of a physical machine.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.
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
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionVm.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.VmSimple.getBwVerticalScaling()
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.VmSimple.getPeVerticalScaling()
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.VmSimple.getRamVerticalScaling()
Modifier and TypeMethodDescriptionVm.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.final Vm
VmSimple.setBwVerticalScaling
(VerticalVmScaling bwVerticalScaling) 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.final Vm
VmSimple.setPeVerticalScaling
(VerticalVmScaling peVerticalScaling) 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.final Vm
VmSimple.setRamVerticalScaling
(VerticalVmScaling ramVerticalScaling) -
Uses of VerticalVmScaling in org.cloudsimplus.autoscaling
Modifier and TypeClassDescriptionclass
An abstract class for implementingVerticalVmScaling
.class
AVerticalVmScaling
implementation which allows aDatacenterBroker
to perform on demand up or down scaling for someVm
resource, such asRam
,Pe
orBandwidth
.Modifier and TypeFieldDescriptionstatic final VerticalVmScaling
VerticalVmScaling.NULL
An attribute that implements the Null Object Design Pattern forVerticalVmScaling
objects.Modifier and TypeMethodDescriptionVerticalVmScaling.setLowerThresholdFunction
(Function<Vm, Double> lowerThresholdFunction) final VerticalVmScaling
VerticalVmScalingAbstract.setLowerThresholdFunction
(Function<Vm, Double> lowerThresholdFunction) VerticalVmScaling.setResourceScaling
(ResourceScaling resourceScaling) Sets theResourceScaling
that defines how the resource has to be resized.final VerticalVmScaling
VerticalVmScalingAbstract.setResourceScaling
(ResourceScaling resourceScaling) Sets theResourceScaling
that defines how the resource has to be resized.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.final VerticalVmScaling
VerticalVmScalingAbstract.setScalingFactor
(double scalingFactor) VerticalVmScaling.setUpperThresholdFunction
(Function<Vm, Double> upperThresholdFunction) final VerticalVmScaling
VerticalVmScalingAbstract.setUpperThresholdFunction
(Function<Vm, Double> upperThresholdFunction) -
Uses of VerticalVmScaling in org.cloudsimplus.autoscaling.resources
Modifier and TypeMethodDescriptiondouble
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)