Public Member Functions | |
| setTimeout ($timeout) | |
| lock ($id, $waitForTimeout=true) | |
| unlock ($id) | |
| __destruct () | |
Protected Member Functions | |
| initialize () | |
Definition at line 16 of file clusterlockutility.php.
| __destruct | ( | ) |
Definition at line 108 of file clusterlockutility.php.
| initialize | ( | ) | [protected] |
initialize internal structures
Definition at line 46 of file clusterlockutility.php.
References getUtil().
Referenced by lock().


| lock | ( | $ | id, | |
| $ | waitForTimeout = true | |||
| ) |
Lock a (user?) id
| int | $id, id of the user to lock. | |
| bool | $waitForTimeout, wait for time out |
Definition at line 64 of file clusterlockutility.php.
References CacheUtility::CM_MEMCACHE, and initialize().

| setTimeout | ( | $ | timeout | ) |
| integer | $timout how many seconds to wait for a lock before we fail |
Definition at line 35 of file clusterlockutility.php.
| unlock | ( | $ | id | ) |
Unlock a (user?) id
| int | $id, id of the user to lock |
Definition at line 94 of file clusterlockutility.php.
References CacheUtility::CM_MEMCACHE.
1.5.8