diff --git a/components/lock.rst b/components/lock.rst index e9fe61ecd1a..bc4b9504c5c 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -390,17 +390,20 @@ The component includes the following built-in store types: Store Scope Blocking Expiring Sharing Serialization ========================================================== ====== ======== ======== ======= ============= :ref:`FlockStore ` local yes no yes no -:ref:`MemcachedStore ` remote no yes no yes -:ref:`MongoDbStore ` remote no yes no yes -:ref:`PdoStore ` remote no yes no yes -:ref:`DoctrineDbalStore ` remote no yes no yes +:ref:`MemcachedStore ` remote retry yes no yes +:ref:`MongoDbStore ` remote retry yes no yes +:ref:`PdoStore ` remote retry yes no yes +:ref:`DoctrineDbalStore ` remote retry yes no yes :ref:`PostgreSqlStore ` remote yes no yes no :ref:`DoctrineDbalPostgreSqlStore ` remote yes no yes no -:ref:`RedisStore ` remote no yes yes yes +:ref:`RedisStore ` remote retry yes yes yes :ref:`SemaphoreStore ` local yes no no no -:ref:`ZookeeperStore ` remote no no no no +:ref:`ZookeeperStore ` remote retry no no no ========================================================== ====== ======== ======== ======= ============= +When the store does not support blocking locks, the Lock class will retry to acquire +the lock in a non-blocking way until the lock is acquired. + .. tip:: Symfony includes two other special stores that are mostly useful for testing: