Class Resque_Failure_Redis

InheritanceResque_Failure_Redis
ImplementsResque_Failure_Interface

Redis backend for storing failed Resque jobs.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Initialize a failed job class and save it (where appropriate). Resque_Failure_Redis

Method Details

__construct() public method

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.