|
| __construct (?array $typeConfigs, array $clientConf, LoggerInterface $logger) |
|
| create (string $type, string $key) |
| Get a PoolCounter.
|
|
- Since
- 1.40
Definition at line 9 of file PoolCounterFactory.php.
◆ __construct()
MediaWiki\PoolCounter\PoolCounterFactory::__construct |
( |
?array | $typeConfigs, |
|
|
array | $clientConf, |
|
|
LoggerInterface | $logger ) |
- Access: internal
- For use by ServiceWiring
- Parameters
-
array | null | $typeConfigs | See $wgPoolCounterConf |
array | $clientConf | See $wgPoolCountClientConf |
LoggerInterface | $logger | |
Definition at line 21 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 40 of file PoolCounterFactory.php.
The documentation for this class was generated from the following file: