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() {
$this
->checkAuthorization();
$info = xcache_info(XC_TYPE_VAR, 0);
return array(
Cache::STATS_HITS => $info['hits'],
Cache::STATS_MISSES => $info['misses'],
Cache::STATS_UPTIME => null,
Cache::STATS_MEMORY_USAGE => $info['size'],
Cache::STATS_MEMORY_AVAILIABLE => $info['avail'],
);
}