Documentation

Horde_HashTable_Lock

Extension to base HashTable class by adding lock methods to prevent access from other PHP processes.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

lock()  : mixed
Obtain lock on a key.
unlock()  : mixed
Release lock on a key.

Methods

lock()

Obtain lock on a key.

public lock(string $key) : mixed
Parameters
$key : string

The key to lock.

Return values
mixed

unlock()

Release lock on a key.

public unlock(string $key) : mixed
Parameters
$key : string

The key to lock.

Return values
mixed

Search results