a-blog cms PHP API Reference

Lock
in package

Table of Contents

Properties

$fp  : mixed
$lockFile  : mixed

Methods

__construct()  : mixed
Constructor
isLocked()  : bool
実行中か判定
release()  : void
ロックを解放
tryLock()  : bool
ロックを取得

Properties

$lockFile

protected mixed $lockFile

Methods

__construct()

Constructor

public __construct(string $lockFile) : mixed
Parameters
$lockFile : string

isLocked()

実行中か判定

public isLocked() : bool
Return values
bool

release()

ロックを解放

public release() : void

tryLock()

ロックを取得

public tryLock() : bool
Return values
bool

        
On this page

Search results