Class Resque_Failure_Redis
Inheritance | Resque_Failure_Redis |
---|---|
Implements | Resque_Failure_Interface |
Redis backend for storing failed Resque jobs.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Initialize a failed job class and save it (where appropriate). | Resque_Failure_Redis |
Method Details
Initialize a failed job class and save it (where appropriate).
public void __construct ( $payload, $exception, $worker, $queue ) | ||
$payload | object | Object containing details of the failed job. |
$exception | object | Instance of the exception that was thrown by the failed job. |
$worker | object | Instance of Resque_Worker that received the job. |
$queue | string | The name of the queue the job was fetched from. |