Home | Trees | Indices | Help |
|
---|
|
object --+ | UWSTransitions --+ | SimpleUWSTransitions --+ | ProcessBasedUWSTransitions
A SimpleUWSTransistions that processes its stuff in a child process.
Inheriting classes must implement the getCommandLine(wjob) method -- it must return a command (suitable for reactor.spawnProcess and os.execlp and a list of arguments suitable for reactor.spawnProcess.
They must also implement some sort of queue management. The the simplest case, override queueJob and start the job from there (but set to QUEUED in there anyway).
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
causes a process to be started that executes job. This dispatches according to whether or not we are within a twisted event loop, mostly for testing support. |
tries to kill/abort job. Actually, there are two different scenarios here: Either the job has a non-NULL startTime. In that case, the child job is in control and will manage the state itself. Then kill -INT will do the right thing. However, if startTime is NULL, the child is still starting up. Sending a kill -INT may do many things, and most of them we don't want. So, in this case we kill -TERM the child, do state management ourselves and hope for the best.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |