|
|
@@ -136,6 +136,7 @@ class MemcachedEngine extends CacheEngine {
|
|
|
* Settings the memcached instance
|
|
|
*
|
|
|
* @throws CacheException when the Memcached extension is not built with the desired serializer engine
|
|
|
+ * @return void
|
|
|
*/
|
|
|
protected function _setOptions() {
|
|
|
$this->_Memcached->setOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true);
|
|
|
@@ -257,7 +258,8 @@ class MemcachedEngine extends CacheEngine {
|
|
|
/**
|
|
|
* Delete all keys from the cache
|
|
|
*
|
|
|
- * @param boolean $check
|
|
|
+ * @param boolean $check If true no deletes will occur and instead CakePHP will rely
|
|
|
+ * on key TTL values.
|
|
|
* @return boolean True if the cache was successfully cleared, false otherwise
|
|
|
*/
|
|
|
public function clear($check) {
|
|
|
@@ -314,6 +316,7 @@ class MemcachedEngine extends CacheEngine {
|
|
|
* Increments the group value to simulate deletion of all keys under a group
|
|
|
* old values will remain in storage until they expire.
|
|
|
*
|
|
|
+ * @param string $group The group to clear.
|
|
|
* @return boolean success
|
|
|
*/
|
|
|
public function clearGroup($group) {
|