You are here

public function BackendInterface::onFailure in Advanced Queue 8

Called when job processing has failed.

Non-SQL backends that wish to preserve failed jobs can use this method to populate a failure/dead-letter queue.

Parameters

\Drupal\advancedqueue\Job $job: The job.

1 method overrides BackendInterface::onFailure()
Database::onFailure in src/Plugin/AdvancedQueue/Backend/Database.php
Called when job processing has failed.

File

src/Plugin/AdvancedQueue/Backend/BackendInterface.php, line 134

Class

BackendInterface
Provides the interface for queue backends.

Namespace

Drupal\advancedqueue\Plugin\AdvancedQueue\Backend

Code

public function onFailure(Job $job);