Property | Type | Description | |
---|---|---|---|
$modelClass | string |
Property | Type | Description | |
---|---|---|---|
$_exit | boolean | ||
$_taskConf | array |
Method | Description | |
---|---|---|
__destruct ( ) | Destructor, removes pid-file | |
add ( ) : void | Look for a Queue Task of hte passed name and try to call add() on it. | |
clean ( ) : void | Manually trigger a Finished job cleanup. | |
getOptionParser ( ) : Cake\Console\ConsoleOptionParser | Get option parser method to parse commandline options | |
initialize ( ) : void | Overwrite shell initialize to dynamically load all Queue Related Tasks. | |
install ( ) : void | Set up tables | |
main ( ) : void | Output some basic usage Info. | |
reset ( ) : void | Manually reset (failed) jobs for re-run. | |
runworker ( ) : void | Run a QueueWorker loop. | |
settings ( ) : void | Display current settings | |
stats ( ) : void | Display some statistics about Finished Jobs. | |
uninstall ( ) : void | Remove table and kill workers |
Method | Description | |
---|---|---|
_displayAvailableTasks ( ) : void | ||
_exit ( integer $signal ) : void | Signal handling to queue worker for clean shutdown | |
_getTaskConf ( ) : array | Returns a List of available QueueTasks and their individual configurations. | |
_log ( string $type, integer | null $pid = null ) : void | Timestamped log. | |
_logError ( string $message ) : void | ||
_notify ( ) : void | Timestamped notification. | |
_taskName ( string $task ) : string | Output the task without Queue or Task example: QueueImageTask becomes Image on display |
protected _getTaskConf ( ) : array | ||
return | array |
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser | ||
return | Cake\Console\ConsoleOptionParser |
public initialize ( ) : void | ||
return | void |