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

Breadcrumb

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

interface BlockingSharedLockStoreInterface

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

Hierarchy

  • interface \Symfony\Component\Lock\PersistingStoreInterface
    • interface \Symfony\Component\Lock\SharedLockStoreInterface extends \Symfony\Component\Lock\PersistingStoreInterface
      • interface \Symfony\Component\Lock\BlockingSharedLockStoreInterface extends \Symfony\Component\Lock\SharedLockStoreInterface

Expanded class hierarchy of BlockingSharedLockStoreInterface

All classes that implement BlockingSharedLockStoreInterface

3 files declare their use of BlockingSharedLockStoreInterface
DoctrineDbalPostgreSqlStore.php in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
NullStore.php in vendor/symfony/lock/Store/NullStore.php
PostgreSqlStore.php in vendor/symfony/lock/Store/PostgreSqlStore.php

File

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

Namespace

Symfony\Component\Lock
View source
interface BlockingSharedLockStoreInterface extends SharedLockStoreInterface {
    
    /**
     * Waits until a key becomes free for reading, then stores the resource.
     *
     * @throws LockConflictedException
     */
    public function waitAndSaveRead(Key $key) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
BlockingSharedLockStoreInterface::waitAndSaveRead public function Waits until a key becomes free for reading, then stores the resource. 3
PersistingStoreInterface::delete public function Removes a resource from the storage. 13
PersistingStoreInterface::exists public function Returns whether or not the resource exists in the storage. 13
PersistingStoreInterface::putOffExpiration public function Extends the TTL of a resource. 13
PersistingStoreInterface::save public function Stores the resource if it&#039;s not locked by someone else. 13
SharedLockStoreInterface::saveRead public function Stores the resource if it&#039;s not locked for reading by someone else. 7

API Navigation

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