You are here

public function LauncherInterface::isLocked in Ultimate Cron 8.2

Check if a job is locked.

Parameters

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

Return value

string Lock ID of the locked job, FALSE if not locked.

1 call to LauncherInterface::isLocked()
LauncherBase::isLockedMultiple in src/Launcher/LauncherBase.php
Fallback implementation of multiple lock check.
1 method overrides LauncherInterface::isLocked()
SerialLauncher::isLocked in src/Plugin/ultimate_cron/Launcher/SerialLauncher.php
Check if a job is locked.

File

src/Launcher/LauncherInterface.php, line 57

Class

LauncherInterface
Defines a launcher method.

Namespace

Drupal\ultimate_cron\Launcher

Code

public function isLocked(CronJobInterface $job);