Package turbogears :: Module scheduler :: Class ThreadedScheduler

Class ThreadedScheduler

source code

object --+    
         |    
 Scheduler --+
             |
            ThreadedScheduler

A Scheduler that runs in its own thread.

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
start(self)
Splice off a thread in which the scheduler will run.
source code
 
stop(self)
Stop the scheduler and wait for the thread to finish.
source code

Inherited from Scheduler: add_cron_like_task, add_daytime_task, add_interval_task, add_single_task, cancel, rename, schedule_task, schedule_task_abs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

start(self)

source code 

Splice off a thread in which the scheduler will run.

Overrides: Scheduler.start

stop(self)

source code 

Stop the scheduler and wait for the thread to finish.

Overrides: Scheduler.stop