Retrieves cached information from data store
@since 2.2
array An associative array with server's statistics if available, NULL otherwise.
Overrides CacheProvider::doGetStats
protected function doGetStats() {
$info = $this->redis
->info();
return array(
Cache::STATS_HITS => false,
Cache::STATS_MISSES => false,
Cache::STATS_UPTIME => $info['uptime_in_seconds'],
Cache::STATS_MEMORY_USAGE => $info['used_memory'],
Cache::STATS_MEMORY_AVAILIABLE => false,
);
}