Uses of Interface
org.cloudsimplus.listeners.EventInfo
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
EventListener
implementations to enable event notifications during simulation execution.-
Uses of EventInfo in org.cloudbus.cloudsim.brokers
Modifier and TypeMethodDescriptionDatacenterBroker.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 EventInfo in org.cloudbus.cloudsim.core
Modifier 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.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.removeOnSimulationPauseListener
(EventListener<EventInfo> listener) boolean
Simulation.removeOnSimulationPauseListener
(EventListener<EventInfo> listener) Removes a listener from the onSimulationPausedListener List. -
Uses of EventInfo in org.cloudbus.cloudsim.core.events
Modifier and TypeInterfaceDescriptioninterface
Represents a simulation event which is passed between the entities in a specificSimulation
instance.Modifier and TypeClassDescriptionfinal class
An event which is passed between the entities in the simulation. -
Uses of EventInfo in org.cloudsimplus.listeners
Modifier and TypeInterfaceDescriptioninterface
EventListener<T extends EventInfo>
An interface to define Observers (Listeners) that listen to specific changes in the state of a given observable object (Subject).Modifier and TypeInterfaceDescriptioninterface
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenCloudlet
.interface
An interface that represents data to be passed toEventListener
objects that are registered to be notified when aCloudletScheduler
is not able to allocated the amount of resource aCloudlet
is requesting due to lack of available capacity.interface
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenCloudlet
running inside aVm
.interface
An interface that represent data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenDatacenterBroker
.interface
An interface that represent data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenDatacenter
.interface
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenHost
.interface
An interface that represents data to be passed toEventListener
objects that are registered to be notified after a Host updates the processing of its VMs.interface
An interface that represent data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenVm
running inside aDatacenter
.interface
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenVm
.interface
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenVm
that is related to someHost
.Modifier and TypeClassDescriptionfinal class
An interface that represent data to be passed toEventListener
objects that are registered to be notified when a VM migration is successful or not.Modifier and TypeMethodDescription<T extends EventInfo>
EventListener<T>EventInfo.getListener()
Gets the listener that was notified about the event.Modifier and TypeMethodDescriptionstatic EventInfo
EventInfo.of
(EventListener<EventInfo> listener, double time) Gets a EventInfo instance from the given parameters.Modifier and TypeMethodDescriptionstatic 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.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.