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

Breadcrumb

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

interface SharedLockStoreInterface

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

Hierarchy

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

Expanded class hierarchy of SharedLockStoreInterface

All classes that implement SharedLockStoreInterface

6 files declare their use of SharedLockStoreInterface
CombinedStore.php in vendor/symfony/lock/Store/CombinedStore.php
DoctrineDbalPostgreSqlStore.php in vendor/symfony/lock/Store/DoctrineDbalPostgreSqlStore.php
FlockStore.php in vendor/symfony/lock/Store/FlockStore.php
InMemoryStore.php in vendor/symfony/lock/Store/InMemoryStore.php
PostgreSqlStore.php in vendor/symfony/lock/Store/PostgreSqlStore.php

... See full list

File

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

Namespace

Symfony\Component\Lock
View source
interface SharedLockStoreInterface extends PersistingStoreInterface {
    
    /**
     * Stores the resource if it's not locked for reading by someone else.
     *
     * @throws LockConflictedException
     */
    public function saveRead(Key $key) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
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
RSS feed
Powered by Drupal