Class InfoCommandKt
-
- All Implemented Interfaces:
public final class InfoCommandKt
-
-
Method Summary
Modifier and Type Method Description final static RedisRequestinfoCommand(List<String> sections, Function1<StreamWithLength, Unit> onResult)-
-
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
-
-
-
-