Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e5bee0

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: [Lock] Explain 'retry' of lock stores over explicit 'no'
2 parentsba303e6 +58e3285 commit4e5bee0

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

‎components/lock.rst‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,17 +390,20 @@ The component includes the following built-in store types:
390390
Store Scope Blocking Expiring Sharing Serialization
391391
========================================================== ====== ======== ======== ======= =============
392392
:ref:`FlockStore<lock-store-flock>` local yes no yes no
393-
:ref:`MemcachedStore<lock-store-memcached>` remoteno yes no yes
394-
:ref:`MongoDbStore<lock-store-mongodb>` remoteno yes no yes
395-
:ref:`PdoStore<lock-store-pdo>` remoteno yes no yes
396-
:ref:`DoctrineDbalStore<lock-store-dbal>` remoteno yes no yes
393+
:ref:`MemcachedStore<lock-store-memcached>` remoteretry yes no yes
394+
:ref:`MongoDbStore<lock-store-mongodb>` remoteretry yes no yes
395+
:ref:`PdoStore<lock-store-pdo>` remoteretry yes no yes
396+
:ref:`DoctrineDbalStore<lock-store-dbal>` remoteretry yes no yes
397397
:ref:`PostgreSqlStore<lock-store-pgsql>` remote yes no yes no
398398
:ref:`DoctrineDbalPostgreSqlStore<lock-store-dbal-pgsql>` remote yes no yes no
399-
:ref:`RedisStore<lock-store-redis>` remoteno yes yes yes
399+
:ref:`RedisStore<lock-store-redis>` remoteretry yes yes yes
400400
:ref:`SemaphoreStore<lock-store-semaphore>` local yes no no no
401-
:ref:`ZookeeperStore<lock-store-zookeeper>` remoteno no no no
401+
:ref:`ZookeeperStore<lock-store-zookeeper>` remoteretry no no no
402402
========================================================== ====== ======== ======== ======= =============
403403

404+
When the store does not support blocking locks, the Lock class will retry to acquire
405+
the lock in a non-blocking way until the lock is acquired.
406+
404407
..tip::
405408

406409
Symfony includes two other special stores that are mostly useful for testing:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp