TaskData

class TaskData extends MachineDataAbstract

A base class that stores data to identify a task. It has to be extended by classes that read task’s events from a trace file.

Author:Manoel Campos da Silva Filho

Methods

getJobId

public long getJobId()

Gets the id of the job this task belongs to.

getTaskIndex

public long getTaskIndex()

Gets the task index within the job.

getUniqueTaskId

public long getUniqueTaskId()

An unique ID to be used to identify Cloudlets. The ID is composed of the Job ID, concatenated with the Task Index.

setJobId

TaskData setJobId(long jobId)

setTaskIndex

TaskData setTaskIndex(long taskIndex)