You are here

public function Redis_Cache_BackendInterface::set in Redis 7.3

Set a single entry

Parameters

string $id:

mixed $data:

int $ttl:

boolean $volatile:

File

lib/Redis/Cache/BackendInterface.php, line 68

Class

Redis_Cache_BackendInterface
Real cache backend primitives. This functions will be used by the Redis_Cache wrapper class that implements the high-level logic that allows us to be Drupal compatible.

Code

public function set($id, $data, $ttl = null, $volatile = false);