web2py.gluon.scheduler.Scheduler

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

# Class Scheduler

source code

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

Instance Methods | [hide private]
__init__(self, db, tasks={}, migrate=True, worker_name=None, group_names=None, heartbeat=HEARTBEAT) | source code
define_tables(self, db, migrate) | source code
loop(self, worker_name=None) | source code
pop_task(self) | source code
report_task(self, task, task_report) | source code
send_heartbeat(self, counter) | source code
sleep(self) | source code
Inherited from `MetaScheduler`: `async`, `die`, `run`, `start_heartbeats`, `terminate_process` 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, db, tasks={}, migrate=True, worker_name=None, group_names=None, heartbeat=HEARTBEAT) (Constructor) | source code
Overrides: MetaScheduler.__init__

### loop(self, worker_name=None) | source code
Overrides: MetaScheduler.loop

### pop_task(self) | source code
Overrides: MetaScheduler.pop_task

### report_task(self, task, task_report) | source code
Overrides: MetaScheduler.report_task

### send_heartbeat(self, counter) | source code
Overrides: MetaScheduler.send_heartbeat

### sleep(self) | source code
Overrides: MetaScheduler.sleep