MediaWiki
REL1_22
|
Maintenance script that makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report. More...
Public Member Functions | |
__construct () | |
execute () | |
Private Member Functions | |
microtime_float () | |
Return microtime() as a float. |
Maintenance script that makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report.
Definition at line 33 of file mctest.php.
Reimplemented from Maintenance.
Definition at line 34 of file mctest.php.
References Maintenance\addArg(), and Maintenance\addOption().
mcTest::execute | ( | ) |
Reimplemented from Maintenance.
Definition at line 43 of file mctest.php.
References $cache, $mcc, $value, $wgMainCacheType, $wgMemCachedServers, array(), as, Maintenance\error(), Maintenance\getArg(), Maintenance\getOption(), global, Maintenance\hasArg(), microtime_float(), and Maintenance\output().
mcTest::microtime_float | ( | ) | [private] |
Return microtime() as a float.
Definition at line 108 of file mctest.php.
References list.
Referenced by execute().