MediaWiki REL1_31
SquidPurgeClientPool Class Reference
Collaboration diagram for SquidPurgeClientPool:

Public Member Functions

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

Protected Attributes

array $clients = []
 Array of SquidPurgeClient.
 
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, 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: