public function set($id, $data, $lifeTime = 0)
    {
        if ($lifeTime > (int) 2592000) {
            $lifeTime = time() + $lifeTime;
        }

        return $this->memcache->add($id, $data, CacheFlags::CACHE_COMPRESSED, (int) $lifeTime);
    }
public function set($id, $data, $lifeTime = 0)
    {
        if ($lifeTime > (int) 2592000) {
            $lifeTime = time() + $lifeTime;
        }

        return $this->memcache->add($id, $data, CacheFlags::CACHE_COMPRESSED, (int) $lifeTime);
    }
public function set ( $ id , $ data , $ lifeTime = 0 ) { if ( $ lifeTime > ( int ) 2592000 ) { $ lifeTime = time ( ) + $ lifeTime ; } return $ this -> memcache -> add ( $ id , $ data , CacheFlags :: CACHE_COMPRESSED , ( int ) $ lifeTime ) ; }
Set the data content for memcache cache provider

@param string $id
@param string $data
@param int    $lifeTime

@return mixed
Set the data content for memcache cache provider