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

Breadcrumb

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

function BlockingStoreInterface::waitAndSave

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

Throws

LockConflictedException

4 methods override BlockingStoreInterface::waitAndSave()
DoctrineDbalPostgreSqlStore::waitAndSave in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
Waits until a key becomes free, then stores the resource.
FlockStore::waitAndSave in vendor/symfony/lock/Store/FlockStore.php
Waits until a key becomes free, then stores the resource.
PostgreSqlStore::waitAndSave in vendor/symfony/lock/Store/PostgreSqlStore.php
Waits until a key becomes free, then stores the resource.
SemaphoreStore::waitAndSave in vendor/symfony/lock/Store/SemaphoreStore.php
Waits until a key becomes free, then stores the resource.

File

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

Class

BlockingStoreInterface
@author Hamza Amrouche <hamza.simperfit@gmail.com>

Namespace

Symfony\Component\Lock

Code

public function waitAndSave(Key $key) : void;

API Navigation

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