|
Memcache::flush
Flush all existing items at the server
()
Example 1313. Memcache::flush() example<?php Code Examples / Notes » memcache_flushmaarten d/ot manders a/t tilllate dotcom
Please note that after flushing, you have to wait a certain amount of time (in my case < 1s) to be able to write to Memcached again. If you don't, Memcached::set() will return 1, although your data is in fact not saved.
|
Change LanguageMemcache::add Memcache::addServer Memcache::close Memcache::connect memcache_debug Memcache::decrement Memcache::delete Memcache::flush Memcache::get Memcache::getExtendedStats Memcache::getServerStatus Memcache::getStats Memcache::getVersion Memcache::increment Memcache::pconnect Memcache::replace Memcache::set Memcache::setCompressThreshold Memcache::setServerParams |