Table of Contents

Class: AdaptiveTask ./src/peak/running/daemons.py

Periodic task that adapts its polling interval based on its workload

Base Classes   
binding.Component
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


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:03 2024 by HappyDoc version 2.1