<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # PSUBSCRIBE **PSUBSCRIBE pattern [pattern ...]** 訂閱一個或多個符合給定模式的頻道。 每個模式以 `*` 作為匹配符,比如 `it*` 匹配所有以 `it` 開頭的頻道( `it.news` 、 `it.blog` 、 `it.tweets` 等等), `news.*` 匹配所有以 `news.` 開頭的頻道( `news.it` 、 `news.global.today` 等等),諸如此類。 **可用版本:** &gt;= 2.0.0 **時間復雜度:** O(N), `N` 是訂閱的模式的數量。 **返回值:** 接收到的信息(請參見下面的代碼說明)。 ``` # 訂閱 news.* 和 tweet.* 兩個模式 # 第 1 - 6 行是執行 psubscribe 之后的反饋信息 # 第 7 - 10 才是接收到的第一條信息 # 第 11 - 14 是第二條 # 以此類推。。。 redis> psubscribe news.* tweet.* Reading messages... (press Ctrl-C to quit) 1) "psubscribe" # 返回值的類型:顯示訂閱成功 2) "news.*" # 訂閱的模式 3) (integer) 1 # 目前已訂閱的模式的數量 1) "psubscribe" 2) "tweet.*" 3) (integer) 2 1) "pmessage" # 返回值的類型:信息 2) "news.*" # 信息匹配的模式 3) "news.it" # 信息本身的目標頻道 4) "Google buy Motorola" # 信息的內容 1) "pmessage" 2) "tweet.*" 3) "tweet.huangz" 4) "hello" 1) "pmessage" 2) "tweet.*" 3) "tweet.joe" 4) "@huangz morning" 1) "pmessage" 2) "news.*" 3) "news.life" 4) "An apple a day, keep doctors away" ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看