Home | Trees | Indices | Help |
|
---|
|
|
|||
| __init__(self, data, chunk_size, hosts, niceness, slave_script, show_output=0, result=None, redistribute=1, verbose=1) | ||
|
start(self) Start slave job |
||
|
getInitParameters(self,
slave_tid) Override to collect slave initiation parameters. |
||
|
done(self) Override to do something after last job result has been received. |
||
|
finish(self) This method is called one time, after the master has received the last missing result. |
||
|
__finish(self) Call finish(); but only call it once. |
||
| bindMessages(self, slave_tid) | ||
int
|
spawn(self,
host,
nickname,
niceness,
show_output=0) Spawn a job. |
||
|
spawnAll(self,
niceness,
show_output=0) Spawn many jobs. |
||
|
initializationDone(self,
slave_tid) is called by a slave that has been initialized and is now ready for start-up. |
||
|
start_job(self,
slave_tid) Called when a new job is about to be started. |
||
{any:any}
|
get_slave_chunk(self,
data_keys) Assemble task dictionary that is send to the slave for a single job. |
||
|
__start_job(self,
slave_tid) Tasks performed befor the job is launched. |
||
|
is_valid_slave(self,
slave_tid) Checked each time before a new job is given to a slave, if 0, the job is given to another slave. |
||
|
job_done(self,
slave_tid,
result) Override to add tasks to be preformend when the job is done (other than the default, see __job_done). |
||
|
__job_done(self,
slave_tid,
result) Tasks that are preformed when the job is done. |
||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
Start slave job
|
Override to collect slave initiation parameters.
|
Override to do something after last job result has been received. |
This method is called one time, after the master has received the last missing result. |
Call finish(); but only call it once. |
|
Spawn a job.
|
Spawn many jobs.
|
is called by a slave that has been initialized and is now ready for start-up.
|
Called when a new job is about to be started. Override to add other startup tasks than the default, see __start_job
|
Assemble task dictionary that is send to the slave for a single job. Override this, if the values of self.data are to be changed/created on the fly.
|
Tasks performed befor the job is launched.
|
Checked each time before a new job is given to a slave, if 0, the job is given to another slave. Override.
|
Override to add tasks to be preformend when the job is done (other than the default, see __job_done).
|
Tasks that are preformed when the job is done.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:45 2006 | http://epydoc.sourceforge.net |