Class HGetExCommandKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • 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.