Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockingSharedLockStoreInterface.php

function BlockingSharedLockStoreInterface::waitAndSaveRead

Waits until a key becomes free for reading, then stores the resource.

Throws

LockConflictedException

3 methods override BlockingSharedLockStoreInterface::waitAndSaveRead()
DoctrineDbalPostgreSqlStore::waitAndSaveRead in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
Waits until a key becomes free for reading, then stores the resource.
NullStore::waitAndSaveRead in vendor/symfony/lock/Store/NullStore.php
Waits until a key becomes free for reading, then stores the resource.
PostgreSqlStore::waitAndSaveRead in vendor/symfony/lock/Store/PostgreSqlStore.php
Waits until a key becomes free for reading, then stores the resource.

File

vendor/symfony/lock/BlockingSharedLockStoreInterface.php, line 26

Class

BlockingSharedLockStoreInterface
@author Jérémy Derussé <jeremy@derusse.com>

Namespace

Symfony\Component\Lock

Code

public function waitAndSaveRead(Key $key) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal