public function set($key, $value, $ttl)
    {
        if ($this->isSafe()) {
            $key = $this->prefix . $key;
            return $this->mem->set($key, $value, $this->compression, $ttl);
        }

        return false;
    }