Property | Type | Description | |
---|---|---|---|
$acquiredLocks | * @var array | ||
$lockStore | * @var LockStoreInterface |
Method | Description | |
---|---|---|
__construct ( Metaphore\Store\LockStoreInterface $lockStore ) | ||
__destruct ( ) | ||
acquire ( $key, $lockTtl ) : boolean | ||
getLockStore ( ) : Metaphore\Store\LockStoreInterface | ||
release ( $key ) : boolean |
Method | Description | |
---|---|---|
prepareLockKey ( $key ) |
public __construct ( Metaphore\Store\LockStoreInterface $lockStore ) | ||
$lockStore | Metaphore\Store\LockStoreInterface |
public getLockStore ( ) : Metaphore\Store\LockStoreInterface | ||
return | Metaphore\Store\LockStoreInterface |