You are here

public function DelayedRequeueException::getDelay in Drupal 9

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\Queue

Code

public function getDelay() : int {
  return $this->delay;
}