Class ArLastItemsCommandKt

    • 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

      • arlastitemsCommand

         final static RedisRequest arlastitemsCommand(String key, Long count, Boolean rev, ElementSink<StreamWithLength> sink)
        Parameters:
        count -
        • the maximum number of values to return

        rev -
        • if true, the most recently inserted value comes first

        sink -
        • called once per returned value, with null for an element which was deleted after it was inserted. The stream is read directly from the connection and is only valid until the callback returns, unread parts are skipped.