Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\App\ResourceConnection $resource, \Magento\Framework\Registry $registry=null, int $threadsCount=null) | |
execute ($userFunctions) | |
Data Fields | |
const | THREADS_COUNT = 'MAGE_INDEXER_THREADS_COUNT' |
Provide functionality for executing user functions in multi-thread mode.
Definition at line 13 of file ProcessManager.php.
__construct | ( | \Magento\Framework\App\ResourceConnection | $resource, |
\Magento\Framework\Registry | $registry = null , |
||
int | $threadsCount = null |
||
) |
\Magento\Framework\App\ResourceConnection | $resource | |
\Magento\Framework\Registry | $registry | |
int | null | $threadsCount |
Definition at line 37 of file ProcessManager.php.
execute | ( | $userFunctions | ) |
Execute user functions
\Traversable | $userFunctions |
Definition at line 57 of file ProcessManager.php.
const THREADS_COUNT = 'MAGE_INDEXER_THREADS_COUNT' |
Threads count environment variable name
Definition at line 18 of file ProcessManager.php.