RAVE
Lib.rave_pgf_qtools.PGF_JobQueue Class Reference

Queue object based on a dictionary. More...

Inheritance diagram for Lib.rave_pgf_qtools.PGF_JobQueue:

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()
 

Detailed Description

Queue object based on a dictionary.

Member Function Documentation

◆ queue_job()

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.

Parameters
algorithm_entry,anElement object that contains all the information required to run a job.
files,alist of input file strings.
arguments,alist of argument key-value pairs.
jobidstring unique ID of that job.

The documentation for this class was generated from the following file: