Class ArGetRangeCommandKt

    • 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

      • argetrangeCommand

         final static RedisRequest argetrangeCommand(String key, Long start, Long end, ElementSink<StreamWithLength> sink)
        Parameters:
        start -
        • inclusive, may be greater than end to get the values in reverse order

        end -
        • inclusive

        sink -
        • called once per index in the range, with null if there is no element at that index (also when the key does not exist). The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.