interface BlockingStoreInterface
@author Hamza Amrouche <hamza.simperfit@gmail.com>
Hierarchy
- interface \Symfony\Component\Lock\PersistingStoreInterface
- interface \Symfony\Component\Lock\BlockingStoreInterface extends \Symfony\Component\Lock\PersistingStoreInterface
Expanded class hierarchy of BlockingStoreInterface
All classes that implement BlockingStoreInterface
4 files declare their use of BlockingStoreInterface
- DoctrineDbalPostgreSqlStore.php in vendor/
symfony/ lock/ Store/ DoctrineDbalPostgreSqlStore.php - FlockStore.php in vendor/
symfony/ lock/ Store/ FlockStore.php - PostgreSqlStore.php in vendor/
symfony/ lock/ Store/ PostgreSqlStore.php - SemaphoreStore.php in vendor/
symfony/ lock/ Store/ SemaphoreStore.php
File
-
vendor/
symfony/ lock/ BlockingStoreInterface.php, line 19
Namespace
Symfony\Component\LockView source
interface BlockingStoreInterface extends PersistingStoreInterface {
/**
* Waits until a key becomes free, then stores the resource.
*
* @throws LockConflictedException
*/
public function waitAndSave(Key $key) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
BlockingStoreInterface::waitAndSave | public | function | Waits until a key becomes free, then stores the resource. | 4 |
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's not locked by someone else. | 13 |