CRM_Utils_Cache_NaiveMultipleTrait
trait CRM_Utils_Cache_NaiveMultipleTrait
Methods
iterable
getMultiple(iterable $keys, mixed $default = NULL)
Obtains multiple cache items by their unique keys.
bool
setMultiple(iterable $values, null|int|DateInterval $ttl = NULL)
Persists a set of key => value pairs in the cache, with an optional TTL.
bool
deleteMultiple(iterable $keys)
Deletes multiple cache items in a single operation.
Details
at line 53
iterable
getMultiple(iterable $keys, mixed $default = NULL)
Obtains multiple cache items by their unique keys.
at line 77
bool
setMultiple(iterable $values, null|int|DateInterval $ttl = NULL)
Persists a set of key => value pairs in the cache, with an optional TTL.
at line 101
bool
deleteMultiple(iterable $keys)
Deletes multiple cache items in a single operation.