Property | Type | Description | |
---|---|---|---|
$QueuedJobs | |||
$queueModelClass | string | ||
$retries | integer | Number of times a failed instance of this task should be restarted before giving up. | |
$timeout | integer | Timeout for run, after which the Task is reassigned to a new worker. |
Method | Description | |
---|---|---|
__construct ( |
||
add ( ) : void | Add functionality. | |
run ( array $data, integer $id ) : boolean | Run function. |
public __construct ( |
||
$io | IO |
public QueuedJobsTable,Queue\Model\Table $QueuedJobs | ||
return |
public int $retries | ||
return | integer |
public int $timeout | ||
return | integer |