Jamm\Memory\MemcacheObject::setMemcacheObject PHP Method

setMemcacheObject() protected method

protected setMemcacheObject ( $host = 'localhost', $port = 11211 )
    protected function setMemcacheObject($host = 'localhost', $port = 11211)
    {
        $this->memcache = new \Memcache();
        if (!$this->memcache->connect($host, $port)) {
            $this->ReportError('memcache connection error', __LINE__);
        }
    }