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

Constructors

TaskData

TaskData()

A protected constructor to avoid class instantiation, since only subclasses of this class must be used.

Methods

getJobId

long getJobId()

Gets the id of the job this task belongs to.

getTaskIndex

long getTaskIndex()

Gets the task index within the job.

getUniqueTaskId

long getUniqueTaskId()

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

setJobId

TaskData setJobId(long jobId)

setTaskIndex

TaskData setTaskIndex(long taskIndex)