You are here

function Redis_Cache_PhpRedis::isEmpty in Redis 7.2

Same name and namespace in other branches
  1. 7 lib/Redis/Cache/PhpRedis.php \Redis_Cache_PhpRedis::isEmpty()

Checks if a cache bin is empty.

A cache bin is considered empty if it does not contain any valid data for any cache ID.

Return value

TRUE if the cache bin specified is empty.

Overrides DrupalCacheInterface::isEmpty

File

lib/Redis/Cache/PhpRedis.php, line 239

Class

Redis_Cache_PhpRedis
Predis cache backend.

Code

function isEmpty() {

  // FIXME: Todo.
}