Add support to get remaining TTL #2918
-
Feature RequestI want to use the get TL of key but there is no support for it. Please let me know if there is any work around. My implementation class is RedisStringCommands. Is your feature request related to a problem? Please describehttps://redis.io/docs/latest/commands/ttl/ Describe the solution you'd likepublic int getTtl(String key); Describe alternatives you've consideredTeachability, Documentation, Adoption, Migration Strategy |
Beta Was this translation helpful? Give feedback.
Answered by
tishun
Jul 11, 2024
Replies: 1 comment 2 replies
-
Hey @surajpaypay , is the RedisKeyCommands.ttl(K key) what you are searching for?
Not sure what you mean by that, could you clarify? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
surajpaypay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @surajpaypay ,
is the RedisKeyCommands.ttl(K key) what you are searching for?
Not sure what you mean by that, could you clarify?