## Class mr_lock_redis

Description

MR Lock Redis

This lock uses Redis to provide a distributed locking mechanism.

- author: Mark Nielsen

Located in /lock/redis.php (line 45)

    mr_lock_abstract
       |
       --mr_lock_redis

Method Summary
void get ()
void release ()
Variables

#### Inherited Variables

Inherited from mr_lock_abstract

> mr_lock_abstract::$lockacquired
> mr_lock_abstract::$timetolive
> mr_lock_abstract::$uniquekey

Methods
get (line 47)

- access: public

void get ()

Redefinition of:

mr_lock_abstract::get()
  Try to acquire the lock

release (line 84)

- access: public

void release ()

Redefinition of:

mr_lock_abstract::release()
  Release the lock

#### Inherited Methods

Inherited From mr_lock_abstract

> mr_lock_abstract::__construct()
> mr_lock_abstract::get()
> mr_lock_abstract::get_lock_value()
> mr_lock_abstract::has_lock()
> mr_lock_abstract::parse_timetolive()
> mr_lock_abstract::release()
> mr_lock_abstract::set_lockacquired()
> mr_lock_abstract::__destruct()

Documentation generated on Thu, 28 Jun 2012 16:33:51 -0700 by phpDocumentor 1.4.3