Trees | Index | Help |
---|
Package flumotion :: Package worker :: Module worker :: Class WorkerBrain |
|
Loggable
--+
|
WorkerBrain
Method Summary | |
---|---|
| |
Create and register a deferred for starting up the given component. | |
Notify the caller that a start has failed, and remove the start from the list of pending starts. | |
Trigger a previously registered deferred for starting up the given component. | |
error(self,
message)
| |
Install our own signal handler for SIGCHLD. | |
Install our own signal handler for SIGTERM. | |
login(self,
keycard)
| |
setup(self)
| |
Clean up after setup() | |
Inherited from Loggable | |
Log a debug message. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. |
Class Variable Summary | |
---|---|
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from Loggable | |
Implements |
__implemented__ = <implementedBy flumotion.common.log.Lo...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Method Details |
---|
__init__(self,
options)
|
deferredStartCreate(self, avatarId)Create and register a deferred for starting up the given component. This deferred will be fired when the JobAvatar has instructed the job to start the component. |
deferredStartFailed(self, avatarId, failure)Notify the caller that a start has failed, and remove the start from the list of pending starts. |
deferredStartTrigger(self, avatarId)Trigger a previously registered deferred for starting up the given component. |
installSIGCHLDHandler(self)Install our own signal handler for SIGCHLD. This will call the currently installed one first, then reap any leftover zombies. |
installSIGTERMHandler(self)Install our own signal handler for SIGTERM. This will call the currently installed one first, then shut down jobs. |
teardown(self)Clean up after setup()
|
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Aug 2 15:16:42 2005 | http://epydoc.sf.net |