code: public function clear($uid = null) {
          $this->alloc();
          if ($uid) {
              return $this->memcached->delete($uid);
          }
          return $this->memcached->flush();
      }
docs: Clear datas with $uid key
  @param mixed $uid
  @return void