code: public function inc($key, $expire = 0)
      {
          $this->getLock($key);
          $this->set($key,(int) $this->get($key)+1);
          $this->releaseLock($key);
  
          return true;
      }
docs: increment a key
  @param  type    $key
  @param  type    $expire
  @return boolean