MediaWiki  REL1_20
mcTest Class Reference

Maintenance script that makes several 'set', 'incr' and 'get' requests on every memcached server and shows a report. More...

Inheritance diagram for mcTest:
Collaboration diagram for mcTest:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Private Member Functions

 microtime_float ()
 Return microtime() as a float.

Detailed Description

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.


Constructor & Destructor Documentation

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().


Member Function Documentation

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.

Returns:
float

Definition at line 87 of file mctest.php.

Referenced by execute().


The documentation for this class was generated from the following file: