Periodic task that adapts its polling interval based on its workload
Methods
|
|
__call__
__cmp__
doWork
getWork
|
|
__call__
|
__call__ ( self )
Do a unit of work, return true if anything worthwhile was done
|
|
__cmp__
|
__cmp__ ( self, other )
Compare to another daemon on the basis of priority
|
|
doWork
|
doWork ( self, job )
Do the job; throw errors if unsuccessful
|
|
getWork
|
getWork ( self )
Find something to do, and return it
|
|