Class InfoCommandKt

    • 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 infoCommand(List<String> sections, Function1<StreamWithLength, Unit> onResult)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • infoCommand

         final static RedisRequest infoCommand(List<String> sections, Function1<StreamWithLength, Unit> onResult)
        Parameters:
        sections -
        • optional, the sections to return (e.g. "server", "memory", "all" or "everything"). Returns the default sections when empty.

        onResult -
        • called with the info text: "# Section" headers followed by "field:value" lines