Class CloudInformationService

java.lang.Object
org.cloudbus.cloudsim.core.CloudSimEntity
org.cloudbus.cloudsim.core.CloudInformationService
All Implemented Interfaces:
Cloneable, Comparable<SimEntity>, Runnable, Identifiable, Nameable, SimEntity

public class CloudInformationService extends CloudSimEntity
A Cloud Information Service (CIS) is an entity that provides cloud resource registration, indexing and discovery services. The Cloud datacenters tell their readiness to process Cloudlets by registering themselves with this entity. Other entities such as the broker can contact this class for resource discovery service, which returns a list of registered resource.

In summary, it acts like a yellow page service. An instance of this class is automatically created by CloudSim upon initialisation of the simulation.

Since:
CloudSim Toolkit 1.0
Author:
Manzur Murshed, Rajkumar Buyya
  • Method Details

    • startInternal

      protected void startInternal()
      The method has no effect at the current class.
      Specified by:
      startInternal in class CloudSimEntity
    • processEvent

      public void processEvent(SimEvent evt)
      Description copied from interface: SimEntity
      Processes events or services that are available for the entity. This method is invoked by the CloudSim class whenever there is an event in the deferred queue, which needs to be processed by the entity.
      Parameters:
      evt - information about the event just happened
    • shutdown

      public void shutdown()
      Description copied from interface: SimEntity
      Shuts down the entity. This method is invoked by the CloudSim before the simulation finishes. If you want to save data in log files this is the method in which the corresponding code would be placed.
      Specified by:
      shutdown in interface SimEntity
      Overrides:
      shutdown in class CloudSimEntity
    • getDatacenterList

      public Set<Datacenter> getDatacenterList()
      Gets the list of all registered Datacenters.
      Returns: