Uses of Interface
org.cloudsimplus.listeners.VmHostEventInfo
Package
Description
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
Builder
classes that
implement the Builder Design Pattern
to allow instantiating multiple simulation objects more easily.Provides
EventListener
implementations to enable event notifications during simulation execution.-
Uses of VmHostEventInfo in org.cloudbus.cloudsim.vms
Modifier and TypeMethodDescriptionVm.addOnHostAllocationListener
(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when aHost
is allocated to the Vm, that is, when the Vm is placed into a given Host.VmSimple.addOnHostAllocationListener
(EventListener<VmHostEventInfo> listener) Vm.addOnHostDeallocationListener
(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when the Vm is moved/removed from aHost
.VmSimple.addOnHostDeallocationListener
(EventListener<VmHostEventInfo> listener) Vm.addOnMigrationFinishListener
(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when a VM finishes migrating to a targetHost
.VmSimple.addOnMigrationFinishListener
(EventListener<VmHostEventInfo> listener) Vm.addOnMigrationStartListener
(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified when a VM starts migrating to a targetHost
.VmSimple.addOnMigrationStartListener
(EventListener<VmHostEventInfo> listener) Vm.addOnUpdateProcessingListener
(EventListener<VmHostEventInfo> listener) Adds a listener object that will be notified every time when the processing of the Vm is updated in itsHost
.VmSimple.addOnUpdateProcessingListener
(EventListener<VmHostEventInfo> listener) boolean
Vm.removeOnHostAllocationListener
(EventListener<VmHostEventInfo> listener) Removes a listener from the onHostAllocationListener List.boolean
VmSimple.removeOnHostAllocationListener
(EventListener<VmHostEventInfo> listener) boolean
Vm.removeOnHostDeallocationListener
(EventListener<VmHostEventInfo> listener) Removes a listener from the onHostDeallocationListener List.boolean
VmSimple.removeOnHostDeallocationListener
(EventListener<VmHostEventInfo> listener) boolean
Vm.removeOnMigrationFinishListener
(EventListener<VmHostEventInfo> listener) Removes a listener from the onMigrationFinishListener List.boolean
VmSimple.removeOnMigrationFinishListener
(EventListener<VmHostEventInfo> listener) boolean
Vm.removeOnMigrationStartListener
(EventListener<VmHostEventInfo> listener) Removes a listener from the onMigrationStartListener List.boolean
VmSimple.removeOnMigrationStartListener
(EventListener<VmHostEventInfo> listener) boolean
Vm.removeOnUpdateProcessingListener
(EventListener<VmHostEventInfo> listener) Removes a listener from the onUpdateVmProcessingListener List.boolean
VmSimple.removeOnUpdateProcessingListener
(EventListener<VmHostEventInfo> listener) -
Uses of VmHostEventInfo in org.cloudsimplus.autoscaling
Modifier and TypeMethodDescriptionboolean
HorizontalVmScaling.requestUpScalingIfPredicateMatches
(VmHostEventInfo evt) Requests a horizontal scale if the Vm is overloaded, according to theHorizontalVmScaling.getOverloadPredicate()
predicate.final boolean
HorizontalVmScalingSimple.requestUpScalingIfPredicateMatches
(VmHostEventInfo evt) boolean
VerticalVmScaling.requestUpScalingIfPredicateMatches
(VmHostEventInfo evt) Performs the vertical scale if the Vm is overloaded, according to theVerticalVmScaling.getUpperThresholdFunction()
predicate, increasing the Vm resource to which the scaling object is linked to (that may be RAM, CPU, BW, etc.), by the factor defined a scaling factor.final boolean
VerticalVmScalingAbstract.requestUpScalingIfPredicateMatches
(VmHostEventInfo evt) boolean
VmScaling.requestUpScalingIfPredicateMatches
(VmHostEventInfo evt) Requests the Vm to be scaled up or down if it is over or underloaded, respectively. -
Uses of VmHostEventInfo in org.cloudsimplus.builders
Modifier and TypeMethodDescriptionVmBuilder.setOnHostAllocationListener
(EventListener<VmHostEventInfo> listener) VmBuilder.setOnHostDeallocationListener
(EventListener<VmHostEventInfo> listener) VmBuilder.setOnUpdateVmProcessingListener
(EventListener<VmHostEventInfo> listener) -
Uses of VmHostEventInfo in org.cloudsimplus.listeners
Modifier and TypeMethodDescriptionstatic VmHostEventInfo
VmHostEventInfo.of
(EventListener<VmHostEventInfo> listener, Vm vm) Gets a VmHostEventInfo instance from the given parameters.static VmHostEventInfo
VmHostEventInfo.of
(EventListener<VmHostEventInfo> listener, Vm vm, Host host) Gets a VmHostEventInfo instance from the given parameters.Modifier and TypeMethodDescriptionstatic VmHostEventInfo
VmHostEventInfo.of
(EventListener<VmHostEventInfo> listener, Vm vm) Gets a VmHostEventInfo instance from the given parameters.static VmHostEventInfo
VmHostEventInfo.of
(EventListener<VmHostEventInfo> listener, Vm vm, Host host) Gets a VmHostEventInfo instance from the given parameters.