public function create($name, $timeout = null)
    {
        $this->_queues->add($name);
        $this->_queueObjects[$name] = new Rediska_Key_List($this->_getKeyName("queue_$name"), array('rediska' => $this->_rediska));

        return true;
    }
public function create($name, $timeout = null)
    {
        $this->_queues->add($name);
        $this->_queueObjects[$name] = new Rediska_Key_List($this->_getKeyName("queue_$name"), array('rediska' => $this->_rediska));

        return true;
    }
public function create ( $ name , $ timeout = null ) { $ this -> _queues -> add ( $ name ) ; $ this -> _queueObjects [ $ name ] = new Rediska_Key_List ( $ this -> _getKeyName ( "queue_$name" ) , array ( 'rediska' => $ this -> _rediska ) ) ; return true ; }
Create a new queue

Visibility timeout is how long a message is left in the queue "invisible"
to other readers.  If the message is acknowleged (deleted) before the
timeout, then the message is deleted.  However, if the timeout expires
then the message will be made available to other queue readers.

@param  string  $name    queue name
@param  integer $timeout default visibility timeout
@return boolean
Create a new queue