PHP 클래스 NinjaMutex\Lock\DirectoryLock

저자: Jan Voracek ([email protected])
상속: extends NinjaMutex\Lock\LockAbstract
파일 보기 프로젝트 열기: arvenil/ninja-mutex

보호된 프로퍼티들

프로퍼티 타입 설명
$dirname

공개 메소드들

메소드 설명
__construct ( string $dirname )
isLocked ( string $name ) : boolean Check if lock is locked
releaseLock ( string $name ) : boolean Release lock

보호된 메소드들

메소드 설명
getDirectoryPath ( string $name ) : string
getLock ( string $name, boolean $blocking ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( string $dirname )
$dirname string

getDirectoryPath() 보호된 메소드

protected getDirectoryPath ( string $name ) : string
$name string
리턴 string

getLock() 보호된 메소드

protected getLock ( string $name, boolean $blocking ) : boolean
$name string
$blocking boolean
리턴 boolean

isLocked() 공개 메소드

Check if lock is locked
public isLocked ( string $name ) : boolean
$name string name of lock
리턴 boolean

releaseLock() 공개 메소드

Release lock
public releaseLock ( string $name ) : boolean
$name string name of lock
리턴 boolean

프로퍼티 상세

$dirname 보호되어 있는 프로퍼티

protected $dirname