Lock
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor
- isLocked() : bool
- 実行中か判定
- release() : void
- ロックを解放
- tryLock() : bool
- ロックを取得
Properties
$fp
protected
mixed
$fp
$lockFile
protected
mixed
$lockFile
Methods
__construct()
Constructor
public
__construct(string $lockFile) : mixed
Parameters
- $lockFile : string
isLocked()
実行中か判定
public
isLocked() : bool
Return values
boolrelease()
ロックを解放
public
release() : void
tryLock()
ロックを取得
public
tryLock() : bool