public function setTtl($key, $ttl) {
        $redis = $this->_getRedisClient();
        $redis->expire($this->_getInternalKey($key), $ttl);
    }
public function setTtl($key, $ttl) {
        $redis = $this->_getRedisClient();
        $redis->expire($this->_getInternalKey($key), $ttl);
    }
public function setTtl ( $ key , $ ttl ) { $ redis = $ this -> _getRedisClient ( ) ; $ redis -> expire ( $ this -> _getInternalKey ( $ key ) , $ ttl ) ; }
Updates the time to live of the whole queue, not of single entries

@param string $key
@param int    $ttl
Updates the time to live of the whole queue not of single entries