W3cubDocs

/Drupal 8

interface LockBackendInterface

Lock backend interface.

Hierarchy

Related topics

Locking mechanisms
Functions to coordinate long-running operations across requests.

File

core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 64

Namespace

Drupal\Core\Lock

Members

Name Modifiers Type Description
LockBackendInterface::acquire public function Acquires a lock.
LockBackendInterface::getLockId public function Gets the unique page token for locks.
LockBackendInterface::lockMayBeAvailable public function Checks if a lock is available for acquiring.
LockBackendInterface::release public function Releases the given lock.
LockBackendInterface::releaseAll public function Releases all locks for the given lock token identifier.
LockBackendInterface::wait public function Waits a short amount of time before a second lock acquire attempt.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Lock!LockBackendInterface.php/interface/LockBackendInterface/8.1.x