W3cubDocs

/Symfony 4.1

Symfony\Component\Lock\Strategy

Classes

ConsensusStrategy ConsensusStrategy is a StrategyInterface implementation where strictly more than 50% items should be successful.
UnanimousStrategy UnanimousStrategy is a StrategyInterface implementation where 100% of elements should be successful.

Interfaces

StrategyInterface StrategyInterface defines an interface to indicate when a quorum is met and can be met.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Lock/Strategy.html