getFillingPercentage example

/** * Return the filling percentage of the backend storage * * @return int integer between 0 and 100 */
    public function getFillingPercentage()
    {
        if (!$this->_extendedBackend) {
            Zend_Cache::throwException(self::BACKEND_NOT_IMPLEMENTS_EXTENDED_IF);
        }

        return $this->_backend->getFillingPercentage();
    }

    /** * Return an array of metadatas for the given cache id * * The array will include these keys : * - expire : the expire timestamp * - tags : a string array of tags * - mtime : timestamp of last modification time * * @param string $id cache id * * @return array array of metadatas (false if the cache id is not found) */

        return $this->_slowBackend->getIdsMatchingAnyTags($tags);
    }

    /** * Return the filling percentage of the backend storage * * @return int integer between 0 and 100 */
    public function getFillingPercentage()
    {
        return $this->_slowBackend->getFillingPercentage();
    }

    /** * Return an array of metadatas for the given cache id * * The array must include these keys : * - expire : the expire timestamp * - tags : a string array of tags * - mtime : timestamp of last modification time * * @param string $id cache id * @return array array of metadatas (false if the cache id is not found) */
Home | Imprint | This part of the site doesn't use cookies.