메소드 | 설명 | |
---|---|---|
__construct ( MetaborStd\Semaphore\LockAdapterInterface $lockAdapter, string $resourceName ) | ||
__destruct ( ) | release lock if mutex instance is destroyed. | |
acquireLock ( ) | ||
isAcquired ( ) | ||
isLocked ( ) | ||
releaseLock ( ) |
public __construct ( MetaborStd\Semaphore\LockAdapterInterface $lockAdapter, string $resourceName ) | ||
$lockAdapter | MetaborStd\Semaphore\LockAdapterInterface | |
$resourceName | string |