MediaWiki  1.34.0
SquidPurgeClientPool Class Reference
Collaboration diagram for SquidPurgeClientPool:

Public Member Functions

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

Protected Attributes

SquidPurgeClient[] $clients = []
 
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.

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, and wfDebugLog().

Member Data Documentation

◆ $clients

SquidPurgeClient [] SquidPurgeClientPool::$clients = []
protected

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: