Method | Description | |
---|---|---|
init ( ) | Initializes PgSQL specific mutex component implementation. |
Method | Description | |
---|---|---|
acquireLock ( string $name, integer $timeout ) : boolean | Acquires lock by given name. | |
releaseLock ( string $name ) : boolean | Releases lock by given name. |
Method | Description | |
---|---|---|
getKeysFromName ( string $name ) : array | Converts a string into two 16 bit integer keys using the SHA1 hash function. |
protected releaseLock ( string $name ) : boolean | ||
$name | string | of the lock to be released. |
return | boolean | release result. |