Class ExpireTimeCommandKt
-
- All Implemented Interfaces:
public final class ExpireTimeCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestexpiretimeCommand(String key, Function1<Long, Unit> onResult)-
-
Method Detail
-
expiretimeCommand
final static RedisRequest expiretimeCommand(String key, Function1<Long, Unit> onResult)
- Parameters:
onResult--2 if the key does not exist, -1 if the key has no expiration, otherwise the expiration as unix timestamp in seconds
-
-
-
-