Lock backend interface.
Hierarchy
- interface \Drupal\Core\Lock\LockBackendInterface
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. |
Please login to continue.