Class PTtlCommandKt
-
- All Implemented Interfaces:
public final class PTtlCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestpttlCommand(String key, Function1<Long, Unit> onResult)-
-
Method Detail
-
pttlCommand
final static RedisRequest pttlCommand(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 milliseconds
-
-
-
-