Class

eZMutex

class eZMutex

Constants

STEAL_STRING

Properties

$Name
$FileName

Methods

__construct(string $name)

Creates a mutex object for mutext .

fp()

test()

lock()

setMeta($key, $value)

meta($key)

clearMeta()

unlock()

lockTS()

steal($force = false)

Details

at line 25
public __construct(string $name)

Creates a mutex object for mutext .

The mutex is file based, and valid across PHP processes.

Parameters

string $name

at line 41
public fp()

at line 60
public test()

at line 79
public lock()

at line 99
public setMeta($key, $value)

Parameters

$key
$value

at line 117
public meta($key)

Parameters

$key

at line 130
public clearMeta()

at line 141
public unlock()

at line 159
public lockTS()

at line 181
public steal($force = false)

Parameters

$force