IMemcacheTTL

interface OCP\IMemcacheTTL
Interface for memcache backends that support setting ttl after the value is set
Implemented by:OC\Memcache\Redis
Source:lib/public/IMemcacheTTL.php#31
Parent:OCP\IMemcache

Methods

public OCP\IMemcacheTTL::setTTL($key, $ttl)
Set the ttl for an existing value
Source:

lib/public/IMemcacheTTL.php#39

Parameters:
  • $key (string)
  • $ttl (int) time to live in seconds
Since:

8.2.2