Package buildbot :: Package schedulers :: Module manager :: Class SchedulerManager
[frames] | no frames]

Class SchedulerManager

source code

 twisted.application.service.Service --+            
                                       |            
twisted.application.service.MultiService --+        
                                           |        
                          util.loop.LoopBase --+    
                                               |    
                      util.loop.MultiServiceLoop --+
                                                   |
                                                  SchedulerManager

Instance Methods
 
__init__(self, master, db, change_svc) source code
 
updateSchedulers(self, newschedulers)
Add and start any Scheduler that isn't already a child of ours.
source code
 
publish_buildset(self, upstream_name, bsid, t) source code
 
trigger_add_change(self, category, changenumber) source code
 
trigger_modify_buildset(self, category, *bsids) source code

Inherited from util.loop.MultiServiceLoop: get_processors

Inherited from util.loop.LoopBase: is_quiet, loop_done, stopService, trigger, when_quiet

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, startService

Inherited from twisted.application.service.Service: __getstate__, __providedBy__, disownServiceParent, setName, setServiceParent

Class Variables

Inherited from util.loop.LoopBase: OCD_MINIMUM_DELAY

Inherited from twisted.application.service.MultiService: __implemented__, __provides__

Inherited from twisted.application.service.Service: name, parent, running

Method Details

__init__(self, master, db, change_svc)
(Constructor)

source code 
Overrides: twisted.application.service.MultiService.__init__

updateSchedulers(self, newschedulers)

source code 

Add and start any Scheduler that isn't already a child of ours. Stop and remove any that are no longer in the list. Make sure each one has a schedulerid in the database.