Horde_Memcache::stats PHP Méthode

stats() public méthode

Get the statistics output from the current memcache pool.
public stats ( ) : array
Résultat array The output from Memcache::getExtendedStats() using the current configuration values.
    public function stats()
    {
        return $this->_memcache instanceof Memcached ? $this->_memcache->getStats() : $this->_memcache->getExtendedStats();
    }

Usage Example

Exemple #1
0
 /**
  * Get the statistics output from the current memcache pool.
  *
  * @see Horde_Memcache#stats()
  */
 public function stats()
 {
     return $this->_memcache->stats();
 }