- Since
- 1.40
Definition at line 10 of file PoolCounterFactory.php.
◆ __construct()
MediaWiki\PoolCounter\PoolCounterFactory::__construct |
( |
?array | $typeConfigs, |
|
|
array | $clientConf, |
|
|
LoggerInterface | $logger, |
|
|
TracerInterface | $tracer ) |
- Access: internal
- For use by ServiceWiring
- Parameters
-
array | null | $typeConfigs | See $wgPoolCounterConf |
array | $clientConf | See $wgPoolCountClientConf |
LoggerInterface | $logger | |
Definition at line 23 of file PoolCounterFactory.php.
◆ create()
MediaWiki\PoolCounter\PoolCounterFactory::create |
( |
string | $type, |
|
|
string | $key ) |
Get a PoolCounter.
- Access: internal
- This should only be called from PoolCounterWork
- Parameters
-
string | $type | The class of actions to limit concurrency for (task type) |
string | $key | |
- Returns
- PoolCounter
Definition at line 44 of file PoolCounterFactory.php.
The documentation for this class was generated from the following file: