A multi-threaded daemon that maintains a pool of zeo connections that
it can hand out to its worker threads.
|
__init__(self,
noopts=0,
app=None,
keeproot=False)
Initializer that takes care of basic daemon options. |
source code
|
|
|
|
|
|
|
closedb(self)
Close all connections in both free an inuse pools. |
source code
|
|
|
is_connected(self)
Are we connected to zeo. |
source code
|
|
|
getPoolSize(self)
Return the target max pool size for this database. |
source code
|
|
|
available(self)
Return the number of available connection in our pool. |
source code
|
|
|
|
|
|
Inherited from ZenDaemon.ZenDaemon :
becomeDaemon ,
becomeWatchdog ,
changeUser ,
convertSocketOption ,
logname ,
niceDoggie ,
openPrivilegedPort ,
setupLogging ,
sigTerm ,
sighandler_USR1 ,
watchdogCycleTime ,
watchdogMaxRestartTime ,
watchdogStartTimeout ,
writePidFile
Inherited from CmdBase.CmdBase :
buildParser ,
checkLogpath ,
generate_configs ,
generate_xml_configs ,
generate_xml_table ,
getConfigFileDefaults ,
getGlobalConfigFileDefaults ,
getParamatersFromConfig ,
loadConfigFile ,
parseOptions ,
pretty_print_config_comment ,
validateConfigFile
|