public class RatisShell extends AbstractShell
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RatisShell.Builder |
| 构造器和说明 |
|---|
RatisShell(PrintStream out) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getShellName() |
protected Map<String,Command> |
loadCommands(Context context)
Map structure: Command name =>
Command instance. |
static void |
main(String[] args)
Manage ratis shell command.
|
static RatisShell.Builder |
newBuilder() |
close, getCloser, getCommands, printUsage, runpublic RatisShell(PrintStream out)
public static void main(String[] args)
args - array of arguments given by the user's input from the terminalprotected String getShellName()
getShellName 在类中 AbstractShellprotected Map<String,Command> loadCommands(Context context)
AbstractShellCommand instance.loadCommands 在类中 AbstractShellpublic static RatisShell.Builder newBuilder()
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.