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() {
$stats = $this->memcache
->getStats();
return array(
Cache::STATS_HITS => $stats['get_hits'],
Cache::STATS_MISSES => $stats['get_misses'],
Cache::STATS_UPTIME => $stats['uptime'],
Cache::STATS_MEMORY_USAGE => $stats['bytes'],
Cache::STATS_MEMORY_AVAILIABLE => $stats['limit_maxbytes'],
);
}