Class SPopCommandKt

    • 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
    • Method Summary

      Modifier and Type Method Description
      final static RedisRequest spopCommand(String key, Long count, ElementSink<StreamWithLength> sink) Removes and returns random members of the set.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • spopCommand

         final static RedisRequest spopCommand(String key, Long count, ElementSink<StreamWithLength> sink)

        Removes and returns random members of the set.

        Parameters:
        count -
        • optional, the maximum number of members to remove. If not set, at most one member is removed

        sink -
        • called once per removed member (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.