Uses of Interface
org.cloudsimplus.listeners.EventInfo
Package | Description |
---|---|
org.cloudbus.cloudsim.brokers |
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. |
org.cloudbus.cloudsim.core |
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. |
org.cloudbus.cloudsim.core.events |
Provides classes used by the core message passing mechanisms.
|
org.cloudsimplus.listeners |
Provides
EventListener
implementations to enable event notifications during simulation execution. |
-
Uses of EventInfo in org.cloudbus.cloudsim.brokers
Method parameters in org.cloudbus.cloudsim.brokers with type arguments of type EventInfo Modifier and Type Method Description DatacenterBroker
DatacenterBroker. removeOnVmsCreatedListener(EventListener<? extends EventInfo> listener)
Removes anEventListener
to stop it to be notified when VMs in the waiting list are all created.DatacenterBroker
DatacenterBrokerAbstract. removeOnVmsCreatedListener(EventListener<? extends EventInfo> listener)
-
Uses of EventInfo in org.cloudbus.cloudsim.core
Method parameters in org.cloudbus.cloudsim.core with type arguments of type EventInfo Modifier and Type Method Description Simulation
CloudSim. addOnClockTickListener(EventListener<EventInfo> listener)
Simulation
Simulation. addOnClockTickListener(EventListener<EventInfo> listener)
Adds aEventListener
object that will be notified every time when the simulation clock advances.Simulation
CloudSim. addOnSimulationPauseListener(EventListener<EventInfo> listener)
Simulation
Simulation. addOnSimulationPauseListener(EventListener<EventInfo> listener)
Adds anEventListener
object that will be notified when the simulation is paused.Simulation
CloudSim. addOnSimulationStartListener(EventListener<EventInfo> listener)
Simulation
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
Subinterfaces of EventInfo in org.cloudbus.cloudsim.core.events Modifier and Type Interface Description interface
SimEvent
Represents a simulation event which is passed between the entities in a specificSimulation
instance.Classes in org.cloudbus.cloudsim.core.events that implement EventInfo Modifier and Type Class Description class
CloudSimEvent
This class represents a simulation event which is passed between the entities in the simulation.Methods in org.cloudbus.cloudsim.core.events that return types with arguments of type EventInfo Modifier and Type Method Description EventListener<? extends EventInfo>
CloudSimEvent. getListener()
-
Uses of EventInfo in org.cloudsimplus.listeners
Classes in org.cloudsimplus.listeners with type parameters of type EventInfo Modifier and Type Interface Description interface
EventListener<T extends EventInfo>
An interface to define Observers (Listeners) that listen to specific changes in the state of a given observable object (Subject).Subinterfaces of EventInfo in org.cloudsimplus.listeners Modifier and Type Interface Description interface
CloudletEventInfo
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenCloudlet
.interface
CloudletResourceAllocationFailEventInfo
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
CloudletVmEventInfo
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
DatacenterBrokerEventInfo
An interface that represent data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenDatacenterBroker
.interface
DatacenterEventInfo
An interface that represent data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenDatacenter
.interface
DatacenterVmMigrationEventInfo
An interface that represent data to be passed toEventListener
objects that are registered to be notified when a VM migration is successful or not.interface
HostEventInfo
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenHost
.interface
HostUpdatesVmsProcessingEventInfo
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
VmDatacenterEventInfo
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
VmEventInfo
An interface that represents data to be passed toEventListener
objects that are registered to be notified when some events happen for a givenVm
.interface
VmHostEventInfo
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
.Methods in org.cloudsimplus.listeners with type parameters of type EventInfo Modifier and Type Method Description <T extends EventInfo>
EventListener<T>EventInfo. getListener()
Gets the listener that was notified about the event.Methods in org.cloudsimplus.listeners that return EventInfo Modifier and Type Method Description static EventInfo
EventInfo. of(EventListener<EventInfo> listener, double time)
Gets a EventInfo instance from the given parameters.Method parameters in org.cloudsimplus.listeners with type arguments of type EventInfo Modifier and Type Method Description 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.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.static HostUpdatesVmsProcessingEventInfo
HostUpdatesVmsProcessingEventInfo. of(EventListener<? extends EventInfo> listener, Host host, double nextCloudletCompletionTime)
Gets aHostUpdatesVmsProcessingEventInfo
instance from the given parameters.static VmDatacenterEventInfo
VmDatacenterEventInfo. of(EventListener<? extends EventInfo> listener, Vm vm)
Gets a VmDatacenterEventInfo instance from the given parameters.static VmDatacenterEventInfo
VmDatacenterEventInfo. of(EventListener<? extends EventInfo> listener, Vm vm, Datacenter datacenter)
Gets a VmDatacenterEventInfo instance from the given parameters.