Horde_Memcache::stats PHP Method

stats() public method

Get the statistics output from the current memcache pool.
public stats ( ) : array
return 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

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