function BlockingStoreInterface::waitAndSave
Waits until a key becomes free, then stores the resource.
Throws
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\LockCode
public function waitAndSave(Key $key) : void;