Class HGetExCommandKt
-
- All Implemented Interfaces:
public final class HGetExCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequesthgetexCommand(String key, Collection<String> fields, HGetExExpiration expiration, Function2<String, StreamWithLength, Unit> onResult)-
-
Method Detail
-
hgetexCommand
final static RedisRequest hgetexCommand(String key, Collection<String> fields, HGetExExpiration expiration, Function2<String, StreamWithLength, Unit> onResult)
- Parameters:
expiration-optional, sets or removes the expiration of the given fields
onResult-called once per field, in the order of fields, with the value (null if it does not exist). The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.
-
-
-
-