MediaWiki  master
SquidPurgeClientPool Class Reference

SquidPurgeClient helper class. More...

Collaboration diagram for SquidPurgeClientPool:

Public Member Functions

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

Protected Attributes

SquidPurgeClient[] $clients = []
 
int $timeout = 5
 

Detailed Description

SquidPurgeClient helper class.

Deprecated:
Since 1.35 Use MultiHttpClient

Definition at line 28 of file SquidPurgeClientPool.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 38 of file SquidPurgeClientPool.php.

Member Function Documentation

◆ addClient()

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

Definition at line 48 of file SquidPurgeClientPool.php.

◆ run()

SquidPurgeClientPool::run ( )

Definition at line 52 of file SquidPurgeClientPool.php.

References $timeout, and wfDebugLog().

Member Data Documentation

◆ $clients

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

Definition at line 30 of file SquidPurgeClientPool.php.

◆ $timeout

int SquidPurgeClientPool::$timeout = 5
protected

Definition at line 33 of file SquidPurgeClientPool.php.

Referenced by run().


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