public function setnx($key, $value)
    {
        $this->init();
        $result = $this->driver->setnx($key, $value);
        return (bool)$result;
    }
public function setnx($key, $value)
    {
        $this->init();
        $result = $this->driver->setnx($key, $value);
        return (bool)$result;
    }
public function setnx ( $ key , $ value ) { $ this -> init ( ) ; $ result = $ this -> driver -> setnx ( $ key , $ value ) ; return ( bool ) $ result ; }
Set the value of a key, only if the key does not exist
@param string $key
@param string $value
@return boolean true if the key was set, false if the key was not set
Set the value of a key only if the key does not exist