Class TtlCommandKt
-
- All Implemented Interfaces:
public final class TtlCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestttlCommand(String key, Function1<Long, Unit> onResult)-
-
Method Detail
-
ttlCommand
final static RedisRequest ttlCommand(String key, Function1<Long, Unit> onResult)
- Parameters:
onResult--2 if the key does not exist, -1 if the key has no expiration, otherwise the remaining time to live in seconds
-
-
-
-