public function DelayedRequeueException::getDelay in Drupal 10
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Queue/DelayedRequeueException.php \Drupal\Core\Queue\DelayedRequeueException::getDelay()
Get the desired delay interval for this item.
For recommended value usage in a queue processor.
Return value
int The desired delay interval for this item.
See also
self::$delay
File
- core/
lib/ Drupal/ Core/ Queue/ DelayedRequeueException.php, line 56
Class
- DelayedRequeueException
- Throw this exception to leave an item in the queue until its lock expires.
Namespace
Drupal\Core\QueueCode
public function getDelay() : int {
return $this->delay;
}