public function cacheObject($o)
    {
        if (\PHPDaemon\Core\Daemon::$config->logevents->value) {
            \PHPDaemon\Core\Daemon::log(__METHOD__ . '(' . json_encode($o) . ')');
        }

        if (isset($o['_key'])) {
            $this->cache->set($o['_key'], bson_encode($o));
            $this->cache->set('_id.' . ((string)$o['_id']), $o['_key']);
        }

        if (isset($o['_ev'])) {
            $o['name'] = $o['_ev'];

            if (\PHPDaemon\Core\Daemon::$config->logevents->value) {
                \PHPDaemon\Core\Daemon::log('MongoNode send event ' . $o['name']);
            }
        }
    }