You are here

function Redis_Cache_Predis::isEmpty in Redis 7.2

Same name and namespace in other branches
  1. 7 lib/Redis/Cache/Predis.php \Redis_Cache_Predis::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/Predis.php, line 236

Class

Redis_Cache_Predis
Predis cache backend.

Code

function isEmpty() {

  // FIXME: Todo.
}