MediaWiki
REL1_20
|
Maintenance script that makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
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.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 34 of file mctest.php.
References Maintenance\addArg(), and Maintenance\addOption().
mcTest::execute | ( | ) |
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 42 of file mctest.php.
References $mcc, $value, Maintenance\getArg(), Maintenance\getOption(), Maintenance\hasArg(), microtime_float(), and Maintenance\output().
mcTest::microtime_float | ( | ) | [private] |
Return microtime() as a float.
Definition at line 87 of file mctest.php.
Referenced by execute().