function StrategyInterface::isMet
Returns whether or not the quorum is met.
2 methods override StrategyInterface::isMet()
- ConsensusStrategy::isMet in vendor/
symfony/ lock/ Strategy/ ConsensusStrategy.php - Returns whether or not the quorum is met.
- UnanimousStrategy::isMet in vendor/
symfony/ lock/ Strategy/ UnanimousStrategy.php - Returns whether or not the quorum is met.
File
-
vendor/
symfony/ lock/ Strategy/ StrategyInterface.php, line 24
Class
- StrategyInterface
- StrategyInterface defines an interface to indicate when a quorum is met and can be met.
Namespace
Symfony\Component\Lock\StrategyCode
public function isMet(int $numberOfSuccess, int $numberOfItems) : bool;