Table of Contents

Class: IAdaptiveTaskSPI ./src/peak/running/interfaces.py

Things you implement when subclassing the AdaptiveTask abstract base

Base Classes   
Interface
Methods   
doWork
getWork
lockMe
unlockMe
  doWork 
doWork ( job )

Do work described by 'job'; return a true value if successful

  getWork 
getWork ()

Return a "job" (true value) for doWork(), or a false value

  lockMe 
lockMe ()

Override this for custom locking: return True if lock acquired

  unlockMe 
unlockMe ()

Override this for custom locking: ensure lock released


Table of Contents

This document was automatically generated on Mon Jun 1 01:11:07 2020 by HappyDoc version 2.1