library/Rediska/Key/List.php
public function set($index, $value)
    {
        $result = $this->_getRediskaOn()->setToList($this->getName(), $index, $value);

        if (!is_null($this->getExpire()) && $result) {
            $this->expire($this->getExpire(), $this->isExpireTimestamp());
        }

        return $result;
    }
public function set($index, $value)
    {
        $result = $this->_getRediskaOn()->setToList($this->getName(), $index, $value);

        if (!is_null($this->getExpire()) && $result) {
            $this->expire($this->getExpire(), $this->isExpireTimestamp());
        }

        return $result;
    }
Set a new value as the element at index position of the List

@param integer $index Index
@param mixed $value Value
@return boolean