Property | Type | Description | |
---|---|---|---|
$lockWaitTimeout | integer | ||
$memcached | Memcached instance | ||
$sleep | Time to sleep when attempting to get lock in microseconds | ||
$ttl | integer |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
get ( string $key ) : integer | Get last modified | |
lock ( $key ) : void | Lock | |
set ( string $key, mixed $value ) : void | set | |
setLockWaitTimeout ( integer $milliseconds ) | Set lock wait timeout | |
setSleep ( $microseconds ) : void | Set the sleep time in microseconds | |
setTtl ( $microseconds ) : void | Set the ttl for the apc records in seconds | |
unlock ( $key ) : void | Unlock |
public __construct ( |
||
$memcached |
public setLockWaitTimeout ( integer $milliseconds ) | ||
$milliseconds | integer |
protected $sleep |