69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
|
name: SemaphoreStore
|
||
|
class_comment: "# * SemaphoreStore is a PersistingStoreInterface implementation using\
|
||
|
\ Semaphore as store engine.\n# *\n# * @author J\xE9r\xE9my Deruss\xE9 <jeremy@derusse.com>"
|
||
|
dependencies:
|
||
|
- name: BlockingStoreInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\BlockingStoreInterface
|
||
|
- name: InvalidArgumentException
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\Exception\InvalidArgumentException
|
||
|
- name: LockConflictedException
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\Exception\LockConflictedException
|
||
|
- name: Key
|
||
|
type: class
|
||
|
source: Symfony\Component\Lock\Key
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: isSupported
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: "# * SemaphoreStore is a PersistingStoreInterface implementation using\
|
||
|
\ Semaphore as store engine.\n# *\n# * @author J\xE9r\xE9my Deruss\xE9 <jeremy@derusse.com>\n\
|
||
|
# */\n# class SemaphoreStore implements BlockingStoreInterface\n# {\n# /**\n#\
|
||
|
\ * Returns whether or not the store is supported.\n# *\n# * @internal"
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: save
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: waitAndSave
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: lock
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: key
|
||
|
- name: blocking
|
||
|
comment: null
|
||
|
- name: delete
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
- name: putOffExpiration
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
- name: ttl
|
||
|
comment: null
|
||
|
- name: exists
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: key
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\Lock\BlockingStoreInterface
|
||
|
- Symfony\Component\Lock\Exception\InvalidArgumentException
|
||
|
- Symfony\Component\Lock\Exception\LockConflictedException
|
||
|
- Symfony\Component\Lock\Key
|
||
|
interfaces:
|
||
|
- BlockingStoreInterface
|