You are here

public function LauncherInterface::lock in Ultimate Cron 8.2

Lock job.

Parameters

\Drupal\ultimate_cron\CronJobInterface $job: The job to lock.

Return value

string|FALSE Lock ID or FALSE.

1 method overrides LauncherInterface::lock()
SerialLauncher::lock in src/Plugin/ultimate_cron/Launcher/SerialLauncher.php
Lock job.

File

src/Launcher/LauncherInterface.php, line 33

Class

LauncherInterface
Defines a launcher method.

Namespace

Drupal\ultimate_cron\Launcher

Code

public function lock(CronJobInterface $job);