MediaWiki  1.30.0
SquidPurgeClientPool Class Reference

Public Member Functions

 __construct ( $options=[])
 
 addClient ( $client)
 
 run ()
 

Protected Attributes

array $clients = []
 Array of SquidPurgeClient. More...
 
int $timeout = 5
 

Detailed Description

Definition at line 22 of file SquidPurgeClientPool.php.

Constructor & Destructor Documentation

◆ __construct()

SquidPurgeClientPool::__construct (   $options = [])
Parameters
array$options

Definition at line 32 of file SquidPurgeClientPool.php.

References $options.

Member Function Documentation

◆ addClient()

SquidPurgeClientPool::addClient (   $client)
Parameters
SquidPurgeClient$client
Returns
void

Definition at line 42 of file SquidPurgeClientPool.php.

◆ run()

SquidPurgeClientPool::run ( )

Definition at line 46 of file SquidPurgeClientPool.php.

References $timeout, as, captcha-old\count, list, and wfDebugLog().

Member Data Documentation

◆ $clients

array SquidPurgeClientPool::$clients = []
protected

Array of SquidPurgeClient.

Definition at line 24 of file SquidPurgeClientPool.php.

◆ $timeout

int SquidPurgeClientPool::$timeout = 5
protected

Definition at line 27 of file SquidPurgeClientPool.php.

Referenced by run().


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