| 限定符和类型 | 方法和说明 |
|---|---|
Collection<Command> |
AbstractShell.getCommands() |
default Map<String,Command> |
Command.getSubCommands() |
protected abstract Map<String,Command> |
AbstractShell.loadCommands(Context context)
Map structure: Command name =>
Command instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
default int |
Command.compareTo(Command that) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Map<String,Command> |
RatisShell.loadCommands(Context context) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractCommand
The base class for all the ratis shell
Command classes. |
class |
AbstractParentCommand |
class |
AbstractRatisCommand
The base class for the ratis shell which need to connect to server.
|
class |
ElectionCommand |
class |
GroupCommand
Command for the ratis group
|
class |
LocalCommand
Command for local operation, which no need to connect to ratis server
|
class |
PeerCommand
Command for the ratis peer
|
class |
SnapshotCommand
Command for the ratis snapshot
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Command> |
AbstractParentCommand.getSubCommands() |
| 构造器和说明 |
|---|
AbstractParentCommand(Context context,
List<Function<Context,Command>> subCommandConstructors) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PauseCommand
Command for pause leader election on specific server
|
class |
ResumeCommand
Command for resuming leader election on specific server
|
class |
StepDownCommand
Command for stepping down ratis leader server.
|
class |
TransferCommand
Command for transferring the ratis leader to specific server.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
GroupInfoCommand
Command for querying ratis group information.
|
class |
GroupListCommand
Command for querying the group information of a ratis server.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
RaftMetaConfCommand
Command for generate a new raft-meta.conf file based on original raft-meta.conf and new peers,
which is used to move a raft node to a new node.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AddCommand
Command for add ratis server.
|
class |
RemoveCommand
Command for remove ratis server.
|
class |
SetPriorityCommand |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TakeSnapshotCommand
Command for make a ratis server take snapshot.
|
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.