프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$lockWaitTimeout | integer | ||
$memcached | Memcached instance | ||
$sleep | Time to sleep when attempting to get lock in microseconds | ||
$ttl | integer |
메소드 | 설명 | |
---|---|---|
__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 setLockWaitTimeout ( integer $milliseconds ) | ||
$milliseconds | integer |