Class CloudletExecutionTask

java.lang.Object
org.cloudsimplus.cloudlets.network.CloudletTask
org.cloudsimplus.cloudlets.network.CloudletExecutionTask
All Implemented Interfaces:
Identifiable

public class CloudletExecutionTask extends CloudletTask
Since:
CloudSim Toolkit 1.0
Author:
Saurabh Kumar Garg, Manoel Campos da Silva Filho
  • Constructor Details

    • CloudletExecutionTask

      public CloudletExecutionTask(int id, long executionLength)
      Creates a new task.
      Parameters:
      id - id to assign to the task
      executionLength - the execution length of the task (in MI)
  • Method Details

    • process

      public boolean process(long partialFinishedMI)
      Sets a given number of MI to the
      invalid reference
      total MI executed so far
      by the cloudlet.
      Parameters:
      partialFinishedMI - the partial executed length of this Cloudlet (in MI)
      Returns:
      true if the MI value is valid (greater than zero), false otherwise