Class CloudletSimple

All Implemented Interfaces:
Comparable<Cloudlet>, Cloudlet, ChangeableId, CustomerEntity, Delayable, Identifiable, UniquelyIdentifiable
Direct Known Subclasses:
NetworkCloudlet

public class CloudletSimple extends CloudletAbstract
Cloudlet implements the basic features of an application/job/task to be executed by a Vm on behalf of a given user.
Since:
CloudSim Toolkit 1.0
Author:
Rodrigo N. Calheiros, Anton Beloglazov
See Also:
  • Constructor Details

    • CloudletSimple

      public CloudletSimple(long length, int pesNumber, UtilizationModel utilizationModel)
      Creates a Cloudlet with no priority or id. The id is defined when the Cloudlet is submitted to a DatacenterBroker. The file size and output size is defined as 1.
      Parameters:
      length - the length or size (in MI) of this cloudlet to be executed in a VM (check out CloudletAbstract.setLength(long))
      pesNumber - number of PEs that Cloudlet will require
      utilizationModel - a UtilizationModel to define how the Cloudlet uses CPU, RAM and BW. To define an independent utilization model for each resource, call the respective setters.
      See Also:
    • CloudletSimple

      public CloudletSimple(long length, int pesNumber)
      Creates a Cloudlet with no priority or id. The id is defined when the Cloudlet is submitted to a DatacenterBroker. The file size and output size is defined as 1.

      NOTE: By default, the Cloudlet will use a UtilizationModelFull to define CPU utilization and a UtilizationModel.NULL for RAM and BW. To change the default values, use the respective setters.

      Parameters:
      length - the length or size (in MI) of this cloudlet to be executed in a VM (check out CloudletAbstract.setLength(long))
      pesNumber - number of PEs that Cloudlet will require
    • CloudletSimple

      public CloudletSimple(long length, long pesNumber)
      Creates a Cloudlet with no priority or id. The id is defined when the Cloudlet is submitted to a DatacenterBroker. The file size and output size is defined as 1.

      NOTE: By default, the Cloudlet will use a UtilizationModelFull to define CPU utilization and a UtilizationModel.NULL for RAM and BW. To change the default values, use the respective setters.

      Parameters:
      length - the length or size (in MI) of this cloudlet to be executed in a VM (check out CloudletAbstract.setLength(long))
      pesNumber - number of PEs that Cloudlet will require
    • CloudletSimple

      public CloudletSimple(long id, long length, long pesNumber)
      Creates a Cloudlet with no priority, file size and output size equal to 1.

      NOTE: By default, the Cloudlet will use a UtilizationModelFull to define CPU utilization and a UtilizationModel.NULL for RAM and BW. To change the default values, use the respective setters.

      Parameters:
      id - the unique ID of this cloudlet
      length - the length or size (in MI) of this cloudlet to be executed in a VM (check out CloudletAbstract.setLength(long))
      pesNumber - the pes number
  • Method Details