Things you implement when subclassing the AdaptiveTask abstract base
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
|
|