DelayedRequeueException::$delay

Same name in other branches
  1. 10 core/lib/Drupal/Core/Queue/DelayedRequeueException.php \Drupal\Core\Queue\DelayedRequeueException::delay
  2. 11.x core/lib/Drupal/Core/Queue/DelayedRequeueException.php \Drupal\Core\Queue\DelayedRequeueException::delay

The interval of time that the item should remain locked (in seconds).

Type: int

File

core/lib/Drupal/Core/Queue/DelayedRequeueException.php, line 26

Class

DelayedRequeueException
Throw this exception to leave an item in the queue until its lock expires.

Namespace

Drupal\Core\Queue

Code

protected $delay = 0;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.