RAVE
|
Queue object based on a dictionary. More...
Public Member Functions | |
__init__ (self, maxsize=0) | |
queue_job (self, algorithm_entry, files, arguments, jobid) | |
Queue a job for processing. | |
qsize (self) | |
task_done (self, jobid) | |
dump (self, filename=QFILE) | |
load (self, filename=QFILE) | |
Public Attributes | |
int | maxsize = maxsize |
lock = threading.Lock() | |
Queue object based on a dictionary.
Lib.rave_pgf_qtools.PGF_JobQueue.queue_job | ( | self, | |
algorithm_entry, | |||
files, | |||
arguments, | |||
jobid ) |
Queue a job for processing.
All jobs are calls to the generate method.
algorithm_entry,an | Element object that contains all the information required to run a job. |
files,a | list of input file strings. |
arguments,a | list of argument key-value pairs. |
jobid | string unique ID of that job. |