You are here

protected function Redis_Cache_Predis::_buildKey in Redis 7

4 calls to Redis_Cache_Predis::_buildKey()
Redis_Cache_Predis::clear in lib/Redis/Cache/Predis.php
Expires data from the cache.
Redis_Cache_Predis::get in lib/Redis/Cache/Predis.php
Returns data from the persistent cache.
Redis_Cache_Predis::getMultiple in lib/Redis/Cache/Predis.php
Returns data from the persistent cache when given an array of cache IDs.
Redis_Cache_Predis::set in lib/Redis/Cache/Predis.php
Stores data in the persistent cache.

File

lib/Redis/Cache/Predis.php, line 16

Class

Redis_Cache_Predis
Predis cache backend.

Code

protected function _buildKey($cid) {

  // FIXME: Handle site.
  return $this->_bin . ':' . $cid;
}