Uses of Interface
org.cloudsimplus.listeners.EventListener
Packages that use EventListener
Package
Description
Provides
DatacenterBroker
classes that act on behalf of a cloud customer,
attending his/her requests for creation and destruction of
Cloudlets
and
VMs
, assigning such Cloudlets to specific VMs.Provides core classes used just internally by CloudSim Plus,
except the
CloudSim
class that is the
start point and main class used to run simulations.Provides classes used by the core message passing mechanisms.
Provides
Datacenter
implementations,
that represents a physical Cloud Datacenter and contains a set of
Host
that together provide the basic cloud infrastructure.Provides
Host
implementations
that represent a Physical Machine (PM) is used to run Vm
from different cloud customers
(represented by a DatacenterBroker
).Provides
CloudletScheduler
implementations that are used to schedule the execution of multiple
Cloudlet
inside a given
Vm
.Provides implementations of Virtual Machines (
Vm
)
which are a software package that emulate the architecture of a physical machine.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 EventListener in org.cloudbus.cloudsim.brokers
Methods in org.cloudbus.cloudsim.brokers with parameters of type EventListenerModifier and TypeMethodDescriptionDatacenterBroker.addOnVmsCreatedListener
(EventListener<DatacenterBrokerEventInfo> listener) Adds anEventListener
that will be notified every time VMs in the waiting list are all created (placed) in some Host.DatacenterBrokerAbstract.addOnVmsCreatedListener
(EventListener<DatacenterBrokerEventInfo> listener) DatacenterBroker.removeOnVmsCreatedListener
(EventListener<? extends EventInfo> listener) Removes anEventListener
to stop it to be notified when VMs in the waiting list are all created.DatacenterBrokerAbstract.removeOnVmsCreatedListener
(EventListener<? extends EventInfo> listener) -
Uses of EventListener in org.cloudbus.cloudsim.cloudlets
Methods in org.cloudbus.cloudsim.cloudlets with parameters of type EventListenerModifier and TypeMethodDescriptionCloudlet.addOnFinishListener
(EventListener<CloudletVmEventInfo> listener) Adds a Listener object that will be notified when a cloudlet finishes its execution at a givenVm
.CloudletAbstract.addOnFinishListener
(EventListener<CloudletVmEventInfo> listener) Cloudlet.addOnStartListener
(EventListener<CloudletVmEventInfo> listener) Adds a Listener object that will be notified when the Cloudlet starts executing in someVm
.CloudletAbstract.addOnStartListener
(EventListener<CloudletVmEventInfo> listener) Cloudlet.addOnUpdateProcessingListener
(EventListener<CloudletVmEventInfo> listener) Adds a Listener object that will be notified every time the processing of the Cloudlet is updated in itsVm
.CloudletAbstract.addOnUpdateProcessingListener
(EventListener<CloudletVmEventInfo> listener) boolean
Cloudlet.removeOnFinishListener
(EventListener<CloudletVmEventInfo> listener) Removes a listener from the onCloudletFinishEventListener Listboolean
CloudletAbstract.removeOnFinishListener
(EventListener<CloudletVmEventInfo> listener) boolean
Cloudlet.removeOnStartListener
(EventListener<CloudletVmEventInfo> listener) Removes a listener from the onStartListener List.boolean
CloudletAbstract.removeOnStartListener
(EventListener<CloudletVmEventInfo> listener) boolean
Cloudlet.removeOnUpdateProcessingListener
(EventListener<CloudletVmEventInfo> listener) Removes a listener from the onUpdateCloudletProcessingListener List.boolean
CloudletAbstract.removeOnUpdateProcessingListener
(EventListener<CloudletVmEventInfo> listener) -
Uses of EventListener in org.cloudbus.cloudsim.core
Methods in org.cloudbus.cloudsim.core with parameters of type EventListenerModifier and TypeMethodDescriptionCloudSim.addOnClockTickListener
(EventListener<EventInfo> listener) Simulation.addOnClockTickListener
(EventListener<EventInfo> listener) Adds aEventListener
object that will be notified every time when the simulation clock advances.final Simulation
CloudSim.addOnEventProcessingListener
(EventListener<SimEvent> listener) Simulation.addOnEventProcessingListener
(EventListener<SimEvent> listener) Adds aEventListener
object that will be notified when any event is processed by CloudSim.final Simulation
CloudSim.addOnSimulationPauseListener
(EventListener<EventInfo> listener) Simulation.addOnSimulationPauseListener
(EventListener<EventInfo> listener) Adds anEventListener
object that will be notified when the simulation is paused.final Simulation
CloudSim.addOnSimulationStartListener
(EventListener<EventInfo> listener) Simulation.addOnSimulationStartListener
(EventListener<EventInfo> listener) boolean
CloudSim.removeOnClockTickListener
(EventListener<? extends EventInfo> listener) boolean
Simulation.removeOnClockTickListener
(EventListener<? extends EventInfo> listener) Removes a listener from the onClockTickListener List.boolean
CloudSim.removeOnEventProcessingListener
(EventListener<SimEvent> listener) boolean
Simulation.removeOnEventProcessingListener
(EventListener<SimEvent> listener) Removes a listener from the onEventProcessingListener List.boolean
CloudSim.removeOnSimulationPauseListener
(EventListener<EventInfo> listener) boolean
Simulation.removeOnSimulationPauseListener
(EventListener<EventInfo> listener) Removes a listener from the onSimulationPausedListener List. -
Uses of EventListener in org.cloudbus.cloudsim.core.events
Methods in org.cloudbus.cloudsim.core.events that return EventListener -
Uses of EventListener in org.cloudbus.cloudsim.datacenters
Methods in org.cloudbus.cloudsim.datacenters with parameters of type EventListenerModifier and TypeMethodDescriptionDatacenter.addOnHostAvailableListener
(EventListener<HostEventInfo> listener) Adds aEventListener
object that will be notified every time a new Host is available for the Datacenter during simulation runtime.DatacenterSimple.addOnHostAvailableListener
(EventListener<HostEventInfo> listener) Datacenter.addOnVmMigrationFinishListener
(EventListener<DatacenterVmMigrationEventInfo> listener) Adds aEventListener
object that will be notified every time a VM migration is finished either successfully or not.DatacenterSimple.addOnVmMigrationFinishListener
(EventListener<DatacenterVmMigrationEventInfo> listener) -
Uses of EventListener in org.cloudbus.cloudsim.hosts
Methods in org.cloudbus.cloudsim.hosts with parameters of type EventListenerModifier and TypeMethodDescriptionHost.addOnShutdownListener
(EventListener<HostEventInfo> listener) Adds a listener object that will be notified every time the host is powered off.HostSimple.addOnShutdownListener
(EventListener<HostEventInfo> listener) Host.addOnStartupListener
(EventListener<HostEventInfo> listener) Adds a listener object that will be notified every time the host is powered on.HostSimple.addOnStartupListener
(EventListener<HostEventInfo> listener) Adds a listener object that will be notified every time the host updates the processing of all itsVMs
.HostSimple.addOnUpdateProcessingListener
(EventListener<HostUpdatesVmsProcessingEventInfo> listener) boolean
Host.removeOnShutdownListener
(EventListener<HostEventInfo> listener) Removes a Listener object from the registered List.boolean
HostSimple.removeOnShutdownListener
(EventListener<HostEventInfo> listener) boolean
Host.removeOnStartupListener
(EventListener<HostEventInfo> listener) Removes a Listener object from the registered List.boolean
HostSimple.removeOnStartupListener
(EventListener<HostEventInfo> listener) boolean
Removes a Listener object from the registered List.boolean
HostSimple.removeOnUpdateProcessingListener
(EventListener<HostUpdatesVmsProcessingEventInfo> listener) -
Uses of EventListener in org.cloudbus.cloudsim.schedulers.cloudlet
Methods in org.cloudbus.cloudsim.schedulers.cloudlet with parameters of type EventListenerModifier and TypeMethodDescriptionCloudletScheduler.addOnCloudletResourceAllocationFail
(EventListener<CloudletResourceAllocationFailEventInfo> listener) Adds a listener object that will be notified every time aCloudletScheduler
is not able to allocated the amount of resource aCloudlet
is requesting due to lack of available capacity.CloudletSchedulerAbstract.addOnCloudletResourceAllocationFail
(EventListener<CloudletResourceAllocationFailEventInfo> listener) boolean
CloudletScheduler.removeOnCloudletResourceAllocationFail
(EventListener<CloudletResourceAllocationFailEventInfo> listener) Removes a Listener object from the registered List.boolean
CloudletSchedulerAbstract.removeOnCloudletResourceAllocationFail
(EventListener<CloudletResourceAllocationFailEventInfo> listener) -
Uses of EventListener in org.cloudbus.cloudsim.vms
Methods in org.cloudbus.cloudsim.vms with parameters of type EventListenerModifier and TypeMethodDescriptionVm.addOnCreationFailureListener
(EventListener<VmDatacenterEventInfo> listener) Adds a listener object that will be notified when the Vm fail in being placed for lack of aHost
with enough resources in a specificDatacenter
.VmSimple.addOnCreationFailureListener
(EventListener<VmDatacenterEventInfo> listener) Vm.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
Removes a listener from the onVmCreationFailureListener List.boolean
VmSimple.removeOnCreationFailureListener
(EventListener<VmDatacenterEventInfo> 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 EventListener in org.cloudsimplus.builders
Methods in org.cloudsimplus.builders with parameters of type EventListenerModifier and TypeMethodDescriptionCloudletBuilder.setOnCloudletFinishListener
(EventListener<CloudletVmEventInfo> listener) VmBuilder.setOnHostAllocationListener
(EventListener<VmHostEventInfo> listener) VmBuilder.setOnHostDeallocationListener
(EventListener<VmHostEventInfo> listener) VmBuilder.setOnUpdateVmProcessingListener
(EventListener<VmHostEventInfo> listener) HostBuilder.setOnUpdateVmsProcessingListener
(EventListener<HostUpdatesVmsProcessingEventInfo> listener) VmBuilder.setOnVmCreationFailureListener
(EventListener<VmDatacenterEventInfo> listener) -
Uses of EventListener in org.cloudsimplus.listeners
Fields in org.cloudsimplus.listeners declared as EventListenerModifier and TypeFieldDescriptionstatic final EventListener
EventListener.NULL
A implementation of Null Object pattern that makes nothing (it doesn't perform any operation on each existing method).Methods in org.cloudsimplus.listeners that return EventListenerModifier and TypeMethodDescriptionCloudletResourceAllocationFailEventInfo.getListener()
DatacenterVmMigrationEventInfo.getListener()
<T extends EventInfo>
EventListener<T>EventInfo.getListener()
Gets the listener that was notified about the event.Methods in org.cloudsimplus.listeners with parameters of type EventListenerModifier and TypeMethodDescriptionCloudletResourceAllocationFailEventInfo.of
(EventListener<CloudletResourceAllocationFailEventInfo> listener, Cloudlet cloudlet, Class<? extends ResourceManageable> resourceClass, long requestedAmount, long availableAmount, double time) Gets a EventInfo instance from the given parameters.static CloudletVmEventInfo
CloudletVmEventInfo.of
(EventListener<? extends EventInfo> listener, double time, Cloudlet cloudlet) Gets a CloudletVmEventInfo instance from the given parameters.static CloudletVmEventInfo
CloudletVmEventInfo.of
(EventListener<? extends EventInfo> listener, double time, Cloudlet cloudlet, Vm vm) Gets a CloudletVmEventInfo instance from the given parameters.static CloudletVmEventInfo
CloudletVmEventInfo.of
(EventListener<? extends EventInfo> listener, Cloudlet cloudlet) Gets a CloudletVmEventInfo instance from the given parameters.static CloudletVmEventInfo
CloudletVmEventInfo.of
(EventListener<? extends EventInfo> listener, Cloudlet cloudlet, Vm vm) Gets a CloudletVmEventInfo instance from the given parameters.static DatacenterBrokerEventInfo
DatacenterBrokerEventInfo.of
(EventListener<? extends EventInfo> listener, DatacenterBroker broker) Gets aDatacenterBrokerEventInfo
instance from the given parameters.DatacenterVmMigrationEventInfo.of
(EventListener<DatacenterVmMigrationEventInfo> listener, Vm vm, HostSuitability suitability) Gets a VmDatacenterEventInfo instance from the given parameters.static EventInfo
EventInfo.of
(EventListener<EventInfo> listener, double time) Gets a EventInfo instance from the given parameters.static HostEventInfo
HostEventInfo.of
(EventListener<? extends EventInfo> listener, Host host, double time) Gets a EventInfo instance from the given parameters.HostUpdatesVmsProcessingEventInfo.of
(EventListener<HostUpdatesVmsProcessingEventInfo> listener, Host host, double nextCloudletCompletionTime) Gets aHostUpdatesVmsProcessingEventInfo
instance from the given parameters.static VmDatacenterEventInfo
VmDatacenterEventInfo.of
(EventListener<VmDatacenterEventInfo> listener, Vm vm) Gets a VmDatacenterEventInfo instance from the given parameters.static VmDatacenterEventInfo
VmDatacenterEventInfo.of
(EventListener<VmDatacenterEventInfo> listener, Vm vm, Datacenter datacenter) Gets a VmDatacenterEventInfo instance from the given parameters.static 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.