You are here

public function Redis_Cache_Base::getPermTtl in Redis 7.2

Get TTL for CACHE_PERMANENT items.

Return value

int Lifetime in seconds.

1 call to Redis_Cache_Base::getPermTtl()
Redis_Cache_PhpRedis::set in lib/Redis/Cache/PhpRedis.php
Stores data in the persistent cache.

File

lib/Redis/Cache/Base.php, line 152

Class

Redis_Cache_Base
Because those objects will be spawned during boostrap all its configuration must be set in the settings.php file.

Code

public function getPermTtl() {
  return $this->permTtl;
}