Public Member Functions | |
add ($key, $val, $exp=0) | |
decr ($key, $amt=1) | |
delete ($key, $time=0) | |
disconnect_all () | |
enable_compress ($enable) | |
forget_dead_hosts () | |
get ($key) | |
get_multi ($keys) | |
incr ($key, $amt=1) | |
replace ($key, $value, $exp=0) | |
run_command ($sock, $cmd) | |
set ($key, $value, $exp=0) | |
set_compress_threshold ($thresh) | |
set_debug ($dbg) | |
set_servers ($list) |
0.1.2. It acts as a memcached server with no RAM, that is, all objects are cleared the moment they are set. All set operations succeed and all get operations return null.
Definition at line 14 of file ObjectCache.php.
FakeMemCachedClient::add | ( | $ | key, | |
$ | val, | |||
$ | exp = 0 | |||
) |
Definition at line 15 of file ObjectCache.php.
FakeMemCachedClient::decr | ( | $ | key, | |
$ | amt = 1 | |||
) |
Definition at line 16 of file ObjectCache.php.
FakeMemCachedClient::delete | ( | $ | key, | |
$ | time = 0 | |||
) |
Definition at line 17 of file ObjectCache.php.
FakeMemCachedClient::disconnect_all | ( | ) |
Definition at line 18 of file ObjectCache.php.
FakeMemCachedClient::enable_compress | ( | $ | enable | ) |
Definition at line 19 of file ObjectCache.php.
FakeMemCachedClient::forget_dead_hosts | ( | ) |
Definition at line 20 of file ObjectCache.php.
FakeMemCachedClient::get | ( | $ | key | ) |
Definition at line 21 of file ObjectCache.php.
FakeMemCachedClient::get_multi | ( | $ | keys | ) |
FakeMemCachedClient::incr | ( | $ | key, | |
$ | amt = 1 | |||
) |
Definition at line 23 of file ObjectCache.php.
FakeMemCachedClient::replace | ( | $ | key, | |
$ | value, | |||
$ | exp = 0 | |||
) |
Definition at line 24 of file ObjectCache.php.
FakeMemCachedClient::run_command | ( | $ | sock, | |
$ | cmd | |||
) |
Definition at line 25 of file ObjectCache.php.
FakeMemCachedClient::set | ( | $ | key, | |
$ | value, | |||
$ | exp = 0 | |||
) |
Definition at line 26 of file ObjectCache.php.
FakeMemCachedClient::set_compress_threshold | ( | $ | thresh | ) |
Definition at line 27 of file ObjectCache.php.
FakeMemCachedClient::set_debug | ( | $ | dbg | ) |
Definition at line 28 of file ObjectCache.php.
FakeMemCachedClient::set_servers | ( | $ | list | ) |
Definition at line 29 of file ObjectCache.php.