title: is it possible to set expire time when using opsForValue to increment value in spring boot
body: <p>Now I am using this code to increment a value in spring boot :</p>
  <pre><code> String loginFailedKey = &quot;admin-login-failed:&quot; + request.getPhone();
          Object loginFailedCount = loginFailedTemplate.opsForValue().get(loginFailedKey);
          if (loginFailedCount != null &amp;&amp; Integer.valueOf(loginFailedCount.toString()) &gt; 3) {
              throw PostException.REACH_MAX_RETRIES_EXCEPTION;
          }
          List&lt;Users&gt; users = userService.list(request);
          if (CollectionUtils.isEmpty(users)) {
              loginFailedTemplate.opsForValue().increment(loginFailedKey, 1);
              throw PostException.LOGIN_INFO_NOT_MATCH_EXCEPTION;
          }
  </code></pre>
  <p>is it possible to set an expire time when increment the key? If a new increment command happen, update the expire time. I read the docs and did not found the implement.</p>