Adapter/TagcacheAdapter.php
public function inc($key, $expire = 0)
    {
        $this->getLock($key);
        $this->set($key,(int) $this->get($key)+1);
        $this->releaseLock($key);

        return true;
    }
public function inc($key, $expire = 0)
    {
        $this->getLock($key);
        $this->set($key,(int) $this->get($key)+1);
        $this->releaseLock($key);

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