Class Sequence

java.lang.Object
  |
  +--Sequence

public class Sequence
extends java.lang.Object

Each task has a unique taskId, or task sequence number.


Field Summary
 long depth
          The depth of the task in the task graph
 long jobId
          The Id of the job
 long position
          Position is the child Id in the task graph, and therefore can take values for 0 up to (range-1)
 long range
          Each task can spawn (create) up to a maximum number of new tasks, that is declared through the value of this field.
 
Constructor Summary
Sequence(long jobId)
          Use this constructor when you want to create a new Sequence object.
Sequence(Sequence copySequence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

depth

public long depth
The depth of the task in the task graph

jobId

public long jobId
The Id of the job

position

public long position
Position is the child Id in the task graph, and therefore can take values for 0 up to (range-1)

range

public long range
Each task can spawn (create) up to a maximum number of new tasks, that is declared through the value of this field.
Constructor Detail

Sequence

public Sequence(Sequence copySequence)

Sequence

public Sequence(long jobId)
Use this constructor when you want to create a new Sequence object.