Свойство | Type | Description | |
---|---|---|---|
$lockWaitTimeout | integer | ||
$sleep | Time to sleep when attempting to get lock in microseconds | ||
$ttl | integer |
Méthode | Description | |
---|---|---|
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 setLockWaitTimeout ( integer $milliseconds ) | ||
$milliseconds | integer |
protected $sleep |