Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (PhpExecutableFinder $phpExecutableFinder, ConsumerConfigInterface $consumerConfig, DeploymentConfig $deploymentConfig, ShellInterface $shellBackground, PidConsumerManager $pidConsumerManager, ConnectionTypeResolver $mqConnectionTypeResolver=null, LoggerInterface $logger=null) | |
run () | |
Data Fields | |
const | PID_FILE_EXT = '.pid' |
Class for running consumers processes by cron
Definition at line 21 of file ConsumersRunner.php.
__construct | ( | PhpExecutableFinder | $phpExecutableFinder, |
ConsumerConfigInterface | $consumerConfig, | ||
DeploymentConfig | $deploymentConfig, | ||
ShellInterface | $shellBackground, | ||
PidConsumerManager | $pidConsumerManager, | ||
ConnectionTypeResolver | $mqConnectionTypeResolver = null , |
||
LoggerInterface | $logger = null |
||
) |
PhpExecutableFinder | $phpExecutableFinder | The executable finder specifically designed for the PHP executable |
ConsumerConfigInterface | $consumerConfig | The consumer config provider |
DeploymentConfig | $deploymentConfig | The application deployment configuration |
ShellInterface | $shellBackground | The shell command line wrapper for executing command in background |
PidConsumerManager | $pidConsumerManager | The class for checking status of process by PID |
ConnectionTypeResolver | $mqConnectionTypeResolver | Consumer connection resolver |
LoggerInterface | $logger | Logger |
Definition at line 83 of file ConsumersRunner.php.
run | ( | ) |
const PID_FILE_EXT = '.pid' |
Extension of PID file
Definition at line 26 of file ConsumersRunner.php.