TaskDescription — Metadata of Single Task
TaskDescription
is a metadata of a single task with the following properties:
-
Task index (within the TaskSet)
The name of the task is of the format:
1 2 3 4 5 |
task [taskID] in stage [taskSetID] |
TaskDescription
is created when:
-
TaskSetManager
is requested to find a task ready for execution (given a resource offer) -
TaskDescription
is requested to decode (aTaskDescription
from a serialized format as aByteBuffer
)
The textual representation of a TaskDescription
is as follows:
1 2 3 4 5 |
TaskDescription(TID=[taskId], index=[index]) |
Decoding TaskDescription (from Serialized Format) — decode
Method
1 2 3 4 5 |
decode(byteBuffer: ByteBuffer): TaskDescription |
decode
…FIXME
Note
|
|
Encoding TaskDescription (to Serialized Format) — encode
Method
1 2 3 4 5 |
encode(taskDescription: TaskDescription): ByteBuffer |
encode
…FIXME
Note
|
|