Trees | Index | Help |
---|
Package flumotion :: Package manager :: Module manager :: Class Vishnu |
|
Loggable
--+
|
Vishnu
Method Summary | |
---|---|
__init__(self,
name,
unsafeTracebacks)
| |
Set the given message on the given component's state. | |
componentAttached(self,
componentAvatar)
| |
Create the given component. | |
componentDetached(self,
componentAvatar)
| |
deleteFlow(self,
*args,
**kwargs)
| |
Empty the planet of all components, and flows. | |
flumotion.common.bundle.BundlerBasket
|
Return a bundler basket to unbundle from. |
ComponentMapper or None
|
Look up an object mapper given the object. |
getComponentStates(self)
| |
Returns the manager's configuration as a string suitable for importing via loadConfiguration(). | |
getFactory(self)
| |
loadConfiguration(self,
*args,
**kwargs)
| |
registerComponent(self,
componentAvatar)
| |
Tells the manager that the given ports are no longer being used, and may be returned to the allocation pool. | |
Requests a number of ports on the worker named workerName. | |
| |
unregisterComponent(self,
componentAvatar)
| |
workerAttached(self,
workerAvatar)
| |
workerDetached(self,
workerAvatar)
| |
Inherited from Loggable | |
Log a debug message. | |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. |
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 |
---|
componentAddMessage(self, avatarId, message)Set the given message on the given component's state. Can be called e.g. by a worker to report on a crashed component. |
componentCreate(self, componentState)Create the given component. This will currently also trigger a start eventually when the component avatar attaches. The component should be sleeping. The worker it should be started on should be present. |
emptyPlanet(self)Empty the planet of all components, and flows.
|
getBundlerBasket(self)Return a bundler basket to unbundle from. If the registry files were updated since the last time, the bundlerbasket will be rebuilt.
|
getComponentMapper(self, object)Look up an object mapper given the object.
|
getConfiguration(self)Returns the manager's configuration as a string suitable for importing via loadConfiguration(). |
releasePortsOnWorker(self, workerName, ports)Tells the manager that the given ports are no longer being used, and may be returned to the allocation pool. |
reservePortsOnWorker(self, workerName, numPorts)Requests a number of ports on the worker named workerName. The ports will be reserved for the use of the caller until releasePortsOnWorker is called.
|
setBouncer(self, bouncer)
|
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Oct 22 03:16:41 2006 | http://epydoc.sf.net |