Class RPopCommandKt

    • 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

      • rpopCommand

         final static RedisRequest rpopCommand(String key, Long count, ElementSink<StreamWithLength> sink)
        Parameters:
        count -
        • optional, the maximum number of elements to pop. If not set, at most one element is popped

        sink -
        • called once per popped element (none if 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.