Beispiel #1
0
 /**
  * @see mset()
  *
  * @param array $array
  *
  * @return bool TRUE (if the keys were set) or FALSE (no key was set)
  * @link http://redis.io/commands/msetnx
  */
 public function mSetNx(array $array)
 {
     try {
         return $this->client->mSetNx($array);
     } catch (Exception $e) {
         return $this->handleException($e, __FUNCTION__, func_get_args());
     }
 }
 /**
  * @see mset()
  *
  * @param array $array
  *
  * @return bool TRUE (if the keys were set) or FALSE (no key was set)
  * @link http://redis.io/commands/msetnx
  */
 public function mSetNx(array $array)
 {
     $this->appendToLog('NSETNX ' . implode(' ', $array));
     return $this->client->mSetNx($array);
 }