<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國際加速解決方案。 廣告
                # 組件源碼 /** * <b>方法描述:</b> 設置固定過期時間 <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2018-05-09 10:34:14 <br/> * * @param key * 入參|key|{@link java.lang.String} * @param millisecondsTimestamp * 入參|過期時間|{@link long} * @return -1 異常<br/> * 0 失敗<br/> * 1 成功<br/> */ @Component(label = "設置固定過期時間", style = "判斷型", type = "同步組件", comment = "固定的UNIX時間(從1970年開始算起),單位為毫秒", version = "1.0.0", deprecated = false, author = "admin", date = "2018-05-09 10:34:14") @InParams(param = { @Param(name = "key", comment = "key", type = java.lang.String.class), @Param(name = "millisecondsTimestamp", comment = "過期時間", type = long.class) }) @Returns(returns = { @Return(id = "-1", desp = "異常"), @Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功") }) public static ResultBase P_pexpireAt(String key, long millisecondsTimestamp) { try { if (redisTemplate.expireAt(key, new Date(millisecondsTimestamp))) return ResultBase.newSuccessResult(); } catch (Exception e) { AppLog.error(e); return ResultBase.newExceptionResult("TPTR3012", "設置固定過期時間 異常:" + AppLog.errorMsg(e)); } return ResultBase.newFailureResult("TPTR3013", "設置固定過期時間失敗"); } 交易中組件使用方式: ![](https://img.kancloud.cn/0f/4e/0f4ed6606c950eba3eb18facd7baffaa_1258x750.jpg) ## 參數說明及示例 key:redis中存在的key,示例: `"key"` 過期時間:redis中存在的key設置固定的過期時間,單位為毫秒,示例: `1000000` > 固定的UNIX時間(從1970年開始算起),單位為毫秒
                  <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>

                              哎呀哎呀视频在线观看