platform/api/symfony/Component/Lock/Strategy/ConsensusStrategy.yaml
2024-09-02 10:44:11 -07:00

22 lines
547 B
YAML

name: ConsensusStrategy
class_comment: "# * ConsensusStrategy is a StrategyInterface implementation where\
\ strictly more than 50% items should be successful.\n# *\n# * @author J\xE9r\xE9\
my Deruss\xE9 <jeremy@derusse.com>"
dependencies: []
properties: []
methods:
- name: isMet
visibility: public
parameters:
- name: numberOfSuccess
- name: numberOfItems
comment: null
- name: canBeMet
visibility: public
parameters:
- name: numberOfFailure
- name: numberOfItems
comment: null
traits: []
interfaces:
- StrategyInterface