web2py.gluon.scheduler.MetaScheduler

Package web2py :: Package gluon :: Module scheduler :: Class MetaScheduler |
[hide private]
[frames] | no frames]

# Class MetaScheduler

source code

            object --+
                     |
    threading._Verbose --+
                         |
          threading.Thread --+
                             |
                            MetaScheduler

Instance Methods | [hide private]
__init__(self) | source code
async(self, task) starts the background process and returns: ('ok',result,output) ('error',exception,None) ('timeout',None,None) ('terminated',None,None) | source code
die(self) | source code
terminate_process(self) | source code
run(self) the thread that sends heartbeat | source code
start_heartbeats(self) | source code
send_heartbeat(self, counter) | source code
pop_task(self) | source code
report_task(self, task, task_report) | source code
sleep(self) | source code
loop(self) | source code
Inherited from `threading.Thread`: `__repr__`, `getName`, `isAlive`, `isDaemon`, `join`, `setDaemon`, `setName`, `start` Inherited from `threading.Thread` (private): `_set_daemon` Inherited from `threading._Verbose` (private): `_note` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
Overrides: threading.Thread.__init__

### run(self) | source code
the thread that sends heartbeat Overrides: threading.Thread.run