title: Collection Object lost due to redis TTL using redission client
body: <p>We are using Redission client for java to get the data from redis but object gets deleted from collection due to TTL.</p>
  <p>Example</p>
  <p>We are trying the below approach to get the data from Redis with TTL.</p>
  <p><code>final RList rList = client.getList(getEnvCacheKey(cacheKey));</code></p>
  <p><code>rList.expire(7L, TimeUnit.SECONDS);</code></p>
  <p><code>rlist.add(&quot;Value1&quot;);</code></p>
  <p><code>rlist.add(&quot;Value2&quot;);</code></p>
  <p><code>assertThat(rList).containsOnly(&quot;Value1&quot;, &quot;Value2&quot;);</code> // This condition is true until 7 seconds</p>
  <p>Now after 7 seconds
  <code>assert rlist.size() == 2</code> condition becomes <strong>false</strong> since object references are deleted due to TTL.</p>
  <p>Due this we landed up in a production issue. Is there any way we can retain the objects even after TTL? Any sort of help will be appreciated.</p>