프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$acquiredLocks | * @var array | ||
$lockStore | * @var LockStoreInterface |
메소드 | 설명 | |
---|---|---|
__construct ( Metaphore\Store\LockStoreInterface $lockStore ) | ||
__destruct ( ) | ||
acquire ( $key, $lockTtl ) : boolean | ||
getLockStore ( ) : Metaphore\Store\LockStoreInterface | ||
release ( $key ) : boolean |
메소드 | 설명 | |
---|---|---|
prepareLockKey ( $key ) |
public __construct ( Metaphore\Store\LockStoreInterface $lockStore ) | ||
$lockStore | Metaphore\Store\LockStoreInterface |
public getLockStore ( ) : Metaphore\Store\LockStoreInterface | ||
리턴 | Metaphore\Store\LockStoreInterface |