See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
Memory caching.
Copyright: | 2000-2013 John Lim |
Copyright: | 2014 Damien Regad, Mark Newnham and the ADOdb community |
License: | BSD-3-Clause |
License: | LGPL-2.1-or-later |
File Size: | 420 lines (10 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 1 file lib/adodb/adodb-csvlib.inc.php |
ADODB_Cache_MemCache:: (7 methods):
__construct()
isLibMemcached()
connect()
writeCache()
readCache()
flushAll()
flushCache()
Class: ADODB_Cache_MemCache - X-Ref
__construct($db) X-Ref |
Class Constructor. param: ADOConnection $db |
isLibMemcached() X-Ref |
Return true if the current library is Memcached. return: bool |
connect(&$err) X-Ref |
Lazy connection. The connection only occurs on CacheExecute call. param: string $err return: bool success of connecting to a server |
writeCache($filename, $contents, $debug, $secs2cache) X-Ref |
Writes a cached query to the server param: string $filename The MD5 of the query to cache param: string $contents The query results param: bool $debug param: int $secs2cache return: bool true or false. true if successful save |
readCache($filename, &$err, $secs2cache, $rsClass) X-Ref |
Reads a cached query from the server. param: string $filename The MD5 of the query to read param: string $err The query results param: int $secs2cache param: object $rsClass **UNUSED** return: object|bool record or false. |
flushAll($debug = false) X-Ref |
Flushes all of the stored memcache data param: bool $debug return: bool The response from the memcache server |
flushCache($filename, $debug = false) X-Ref |
Flushes the contents of a specified query param: string $filename The MD5 of the query to flush param: bool $debug return: bool The response from the memcache server |