Package ganeti :: Module jqueue :: Class _JobQueueWorker
[hide private]
[frames] | no frames]

Class _JobQueueWorker

source code


The actual job workers.

Instance Methods [hide private]
 
RunTask(self, job)
Job executor.
source code

Inherited from workerpool.BaseWorker: SetTaskName, ShouldTerminate, __init__, run

Inherited from threading.Thread: __repr__, daemon, getName, ident, isAlive, isDaemon, is_alive, join, name, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

RunTask(self, job)

source code 

Job executor.

This functions processes a job. It is closely tied to the _QueuedJob and _QueuedOpCode classes.

Parameters:
Overrides: workerpool.BaseWorker.RunTask