public function init()
{
$this->db = \PHPDaemon\Clients\Mongo\Pool::getInstance($this->config->mongoclientname->value);
$this->cache = \PHPDaemon\Clients\Memcache\Pool::getInstance($this->config->memcacheclientname->value);
if (!isset($this->config->limitinstances)) {
$this->log('missing \'limitInstances\' directive');
}
}