Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

YadaJob Class Reference
[YadaScheduler - the data workhorse]

Collaboration diagram for YadaJob:

Collaboration graph
[legend]
List of all members.

Detailed Description

YadaJob - bundled information about a yada job. A YadaJob is being created with the help of a YadaExperiment and organizes the computation of a wordgraph on a YadaMachine.

Author:
Michael Daum
Id
YadaJob.tcl,v 1.7 2004/02/25 14:42:08 micha Exp

Definition at line 21 of file YadaJob.tcl.

Public Member Functions

 getPassedStates ()
 getState ()
 hasPassedState (TclString state)
 setState (TclString state)
 YadaJob (TclList args)
 ~YadaJob ()

Public Attributes

TclString consumerCommand = ""
TclString experiment = ""
TclString machine = ""
TclString node = ""
TclString process = ""
TclString runner = ""
TclString wordgraphName = ""

Private Attributes

TclString _passedStates = ""
TclString _state = "created"


Constructor & Destructor Documentation

YadaJob::YadaJob TclList  args  ) 
 

constructor

Definition at line 78 of file YadaJob.tcl.

YadaJob::~YadaJob  ) 
 

destructor

Definition at line 86 of file YadaJob.tcl.


Member Function Documentation

YadaJob::getPassedStates  ) 
 

getPassedStates

Definition at line 118 of file YadaJob.tcl.

References hasPassedState().

Referenced by getState().

YadaJob::getState  ) 
 

getState

Definition at line 111 of file YadaJob.tcl.

References getPassedStates().

YadaJob::hasPassedState TclString  state  ) 
 

hasPassedState

Definition at line 125 of file YadaJob.tcl.

Referenced by getPassedStates().

YadaJob::setState TclString  state  ) 
 

setStatus

Definition at line 95 of file YadaJob.tcl.


Member Data Documentation

TclString YadaJob::_passedStates = "" [private]
 

list of passed states. _state

Definition at line 62 of file YadaJob.tcl.

TclString YadaJob::_state = "created" [private]
 

state of the job. A YadaJob passes a series of states from creation time of this object til its destruction. Possible values are:

  • created
  • dequeuing
  • running
  • consuming
  • stopping
Definition at line 59 of file YadaJob.tcl.

TclString YadaJob::consumerCommand = ""
 

consumber callback. After the job has finished we call this tcl command

 $consumerCommand $thisJon 
to process the results.
See also:
Process::consumerCommand
Definition at line 39 of file YadaJob.tcl.

TclString YadaJob::experiment = ""
 

the name of the YadaExperiment for which we created the job.

Definition at line 25 of file YadaJob.tcl.

TclString YadaJob::machine = ""
 

the YadaMachine on which we run this job.

Definition at line 45 of file YadaJob.tcl.

TclString YadaJob::node = ""
 

the actual node of the machine that this job runs on.

Definition at line 48 of file YadaJob.tcl.

TclString YadaJob::process = ""
 

the CdgProcess that is connected to a running job.

Definition at line 42 of file YadaJob.tcl.

TclString YadaJob::runner = ""
 

the YadaRunnableDocument that is responsible for this job. especialy all messages that want to be printed are displayed on this document. Definition at line 33 of file YadaJob.tcl.

TclString YadaJob::wordgraphName = ""
 

the wordgraph which we are going to start YadaJob::experiment on

Definition at line 28 of file YadaJob.tcl.


The documentation for this class was generated from the following file:
YADA 2.0-alpha (20 Oct 2004)