redis/lettuce

Add support to get remaining TTL

surajpaypay opened this issue · 0 comments

Feature Request

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

https://redis.io/docs/latest/commands/ttl/

Describe the solution you'd like

public int getTtl(String key);

Describe alternatives you've considered

Teachability, Documentation, Adoption, Migration Strategy