Class KeysCommandKt

    • 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 keysCommand(String pattern, ElementSink<String> sink) Blocks the server while iterating over all keys, prefer scanCommand in production.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • keysCommand

         final static RedisRequest keysCommand(String pattern, ElementSink<String> sink)

        Blocks the server while iterating over all keys, prefer scanCommand in production.

        Parameters:
        pattern -
        • glob-style pattern the key names must match

        sink -
        • called once per matching key name