<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 組件源碼 /** * <b>方法描述:</b> 移動key到指定db <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2018-05-09 10:35:34 <br/> * * @param key * 入參|key|{@link java.lang.String} * @param dbindex * 入參|db序列|{@link int} * @return -1 異常<br/> * 0 失敗<br/> * 1 成功<br/> */ @Component(label = "移動key到指定db", style = "判斷型", type = "同步組件", comment = "如果源數據庫和目標數據庫有相同名字的給定 key ,或者 key 不存在于當前數據庫,那么 MOVE 沒有任何效果", version = "1.0.0", deprecated = false, author = "admin", date = "2018-05-09 10:35:34") @InParams(param = { @Param(name = "key", comment = "key", type = java.lang.String.class), @Param(name = "dbindex", comment = "db序列", type = int.class) }) @Returns(returns = { @Return(id = "-1", desp = "異常"), @Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功") }) public static ResultBase P_move(String key, int dbindex) { try { if (redisTemplate.move(key, dbindex)) return ResultBase.newSuccessResult(); } catch (Exception e) { AppLog.error(e); return ResultBase.newExceptionResult("TPTR3017", "移動key到指定db 異常:" + AppLog.errorMsg(e)); } return ResultBase.newFailureResult("TPTR3018", "key移動失敗"); } 交易中組件使用方式: ![](https://img.kancloud.cn/c4/3f/c43f187cb66fc4a18ddf37fbaeb3cfef_950x750.jpg) ## 參數說明及示例 key:redis中的key,示例: `"qwer"` db序列:redis緩存db序列號,示例: `3` > 如果源數據庫和目標數據庫有相同名字的給定 key ,或者 key 不存在于當前數據庫,那么 MOVE 沒有任何效果
                  <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>

                              哎呀哎呀视频在线观看