You are here

public function LockInterface::expire in Ultimate Cron 8.2

Release lock if expired.

Checks if expiration time has been reached, and releases the lock if so.

Parameters

string $job_id: The name of the lock.

1 method overrides LockInterface::expire()
Lock::expire in src/Lock/Lock.php
Release lock if expired.

File

src/Lock/LockInterface.php, line 92

Class

LockInterface
Class for handling lock functions.

Namespace

Drupal\ultimate_cron\Lock

Code

public function expire($job_id);