Package | Description |
---|---|
org.cloudbus.cloudsim | |
org.cloudbus.cloudsim.core | |
org.cloudbus.cloudsim.core.predicates | |
org.cloudbus.cloudsim.network.datacenter | |
org.cloudbus.cloudsim.power |
Modifier and Type | Method and Description |
---|---|
protected void |
Datacenter.processCloudlet(SimEvent ev,
int type)
Processes a Cloudlet based on the event type.
|
protected void |
DatacenterBroker.processCloudletReturn(SimEvent ev)
Process a cloudlet return event.
|
protected void |
Datacenter.processCloudletStatus(SimEvent ev)
Process the event for an User/Broker who wants to know the status of a Cloudlet.
|
protected void |
Datacenter.processCloudletSubmit(SimEvent ev,
boolean ack)
Processes a Cloudlet submission.
|
protected void |
Datacenter.processDataAdd(SimEvent ev,
boolean ack)
Process data add.
|
protected void |
Datacenter.processDataDelete(SimEvent ev,
boolean ack)
Process data del.
|
void |
DatacenterBroker.processEvent(SimEvent ev)
Processes events available for this Broker.
|
void |
Datacenter.processEvent(SimEvent ev)
Processes events or services that are available for this PowerDatacenter.
|
protected void |
DatacenterBroker.processOtherEvent(SimEvent ev)
Overrides this method when making a new and different type of Broker.
|
protected void |
Datacenter.processOtherEvent(SimEvent ev)
Here all the method related to VM requests will be received and forwarded to the related
method.
|
protected void |
Datacenter.processPingRequest(SimEvent ev)
Processes a ping request.
|
protected void |
DatacenterBroker.processResourceCharacteristics(SimEvent ev)
Process the return of a request for the characteristics of a PowerDatacenter.
|
protected void |
DatacenterBroker.processResourceCharacteristicsRequest(SimEvent ev)
Process a request for the characteristics of a PowerDatacenter.
|
protected void |
DatacenterBroker.processVmCreate(SimEvent ev)
Process the ack received due to a request for VM creation.
|
protected void |
Datacenter.processVmCreate(SimEvent ev,
boolean ack)
Process the event for an User/Broker who wants to create a VM in this PowerDatacenter.
|
protected void |
Datacenter.processVmDestroy(SimEvent ev,
boolean ack)
Process the event for an User/Broker who wants to destroy a VM previously created in this
PowerDatacenter.
|
protected void |
Datacenter.processVmMigrate(SimEvent ev,
boolean ack)
Process the event for an User/Broker who wants to migrate a VM.
|
Modifier and Type | Method and Description |
---|---|
static SimEvent |
CloudSim.cancel(int src,
Predicate p)
Removes an event from the event queue.
|
SimEvent |
SimEntity.cancelEvent(Predicate p)
Cancel the first event matching a predicate waiting in the entity's future queue.
|
static SimEvent |
CloudSim.findFirstDeferred(int src,
Predicate p)
Find first deferred event matching a predicate.
|
protected SimEvent |
SimEntity.getEventBuffer()
Gets the event buffer.
|
SimEvent |
SimEntity.getNextEvent()
Get the first event waiting in the entity's deferred queue, or if there are none, wait for an
event to arrive.
|
SimEvent |
SimEntity.getNextEvent(Predicate p)
Get the first event matching a predicate from the deferred queue, or if none match, wait for
a matching event to arrive.
|
static SimEvent |
CloudSim.select(int src,
Predicate p)
Selects an event matching a predicate.
|
SimEvent |
SimEntity.selectEvent(Predicate p)
Extract the first event matching a predicate waiting in the entity's deferred queue.
|
Modifier and Type | Method and Description |
---|---|
Iterator<SimEvent> |
DeferredQueue.iterator()
Returns an iterator to the events in the queue.
|
Iterator<SimEvent> |
FutureQueue.iterator()
Returns an iterator to the queue.
|
Modifier and Type | Method and Description |
---|---|
void |
DeferredQueue.addEvent(SimEvent newEvent)
Adds a new event to the queue.
|
void |
FutureQueue.addEvent(SimEvent newEvent)
Add a new event to the queue.
|
void |
FutureQueue.addEventFirst(SimEvent newEvent)
Add a new event to the head of the queue.
|
int |
SimEvent.compareTo(SimEvent event) |
abstract void |
SimEntity.processEvent(SimEvent ev)
This method is invoked by the
Simulation class whenever there is an event in the
deferred queue, which needs to be processed by the entity. |
void |
CloudInformationService.processEvent(SimEvent ev)
Processes events scheduled for this entity.
|
void |
CloudSimShutdown.processEvent(SimEvent ev)
The main method that shuts down hostList and Cloud Information Service (GIS).
|
protected void |
CloudInformationService.processOtherEvent(SimEvent ev)
This method needs to override by a child class for processing other events.
|
boolean |
FutureQueue.remove(SimEvent event)
Removes the event from the queue.
|
protected void |
SimEntity.setEventBuffer(SimEvent e)
Sets the event buffer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FutureQueue.removeAll(Collection<SimEvent> events)
Removes all the events from the queue.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PredicateNotType.match(SimEvent ev)
The match function called by
Simulation , not used directly by the user. |
boolean |
PredicateFrom.match(SimEvent ev)
The match function called by
Simulation , not used directly by the user. |
boolean |
PredicateNone.match(SimEvent ev)
The match function called by
Simulation , not used directly by the user. |
boolean |
PredicateNotFrom.match(SimEvent ev)
The match function called by
Simulation , not used directly by the user. |
boolean |
PredicateType.match(SimEvent ev)
The match function called by
Sim_system , not used directly by the user. |
boolean |
PredicateAny.match(SimEvent ev)
The match function called by
Simulation , not used directly by the user. |
abstract boolean |
Predicate.match(SimEvent event)
The match function which must be overridden when writing a new predicate.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NetDatacenterBroker.processCloudletReturn(SimEvent ev)
Process a cloudlet return event.
|
protected void |
NetworkDatacenter.processCloudletSubmit(SimEvent ev,
boolean ack)
Processes a Cloudlet submission.
|
void |
NetDatacenterBroker.processEvent(SimEvent ev)
Processes events available for this Broker.
|
void |
Switch.processEvent(SimEvent ev) |
protected void |
Switch.processhostpacket(SimEvent ev) |
protected void |
NetDatacenterBroker.processOtherEvent(SimEvent ev)
Overrides this method when making a new and different type of Broker.
|
protected void |
AggregateSwitch.processpacket_down(SimEvent ev)
Send Packet to switch connected through a downlink port
|
protected void |
Switch.processpacket_down(SimEvent ev) |
protected void |
RootSwitch.processpacket_up(SimEvent ev)
Send Packet to switch connected through a downlink port
|
protected void |
AggregateSwitch.processpacket_up(SimEvent ev)
Send Packet to switch connected through a uplink port
|
protected void |
EdgeSwitch.processpacket_up(SimEvent ev)
Send Packet to switch connected through a uplink port
|
protected void |
Switch.processpacket_up(SimEvent ev) |
protected void |
Switch.processpacket(SimEvent ev) |
protected void |
EdgeSwitch.processpacketforward(SimEvent ev)
Send Packet to hosts connected to the switch
|
protected void |
Switch.processpacketforward(SimEvent ev) |
protected void |
NetDatacenterBroker.processResourceCharacteristics(SimEvent ev)
Process the return of a request for the characteristics of a PowerDatacenter.
|
protected void |
NetDatacenterBroker.processResourceCharacteristicsRequest(SimEvent ev)
Process a request for the characteristics of a PowerDatacenter.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PowerDatacenter.processCloudletSubmit(SimEvent ev,
boolean ack) |
protected void |
PowerDatacenterBroker.processVmCreate(SimEvent ev) |
protected void |
PowerDatacenter.processVmMigrate(SimEvent ev,
boolean ack) |
Copyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.