public function CacheProvider::getStats

Retrieves cached information from data store

The server's statistics array has the following values:

  • <b>hits</b>

Number of keys that have been requested and found present.

  • <b>misses</b>

Number of items that have been requested and not found.

  • <b>uptime</b>

Time that the server is running.

  • <b>memory_usage</b>

Memory used by this server to store items.

  • <b>memory_available</b>

Memory allowed to use for storage.

@since 2.2

Overrides Cache::getStats

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php, line 103

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

public function getStats() {
  return $this
    ->doGetStats();
}