Class ScanCommandKt

    • 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

      • scanCommand

         final static RedisRequest scanCommand(String cursor, String match, Long count, String type, Function1<String, Unit> onCursor, ElementSink<String> sink)
        Parameters:
        cursor -
        • "0" to start a new iteration, otherwise the cursor returned by the previous call

        match -
        • optional, only return key names matching this glob-style pattern

        count -
        • optional, hint for how many keys to return per call

        type -
        • optional, only return keys of this type (as returned by typeCommand, e.g. "string" or "hash")

        onCursor -
        • called with the cursor to use for the next call ("0" when the iteration is complete). Called before any key name is passed to the sink.

        sink -
        • called once per returned key name