protected function setCompression($useCompression)
{
if ($this->memcache instanceof \Memcached) {
$this->memcache->setOption(\Memcached::OPT_COMPRESSION, $useCompression);
} else {
if ($useCompression === true) {
$this->flags ^= MEMCACHE_COMPRESSED;
} else {
$this->flags &= ~MEMCACHE_COMPRESSED;
}
}
}