跳过导航链接
A B C D E G H I L M N O P R S T V 

A

AbstractCommand - org.apache.ratis.shell.cli.sh.command中的类
The base class for all the ratis shell Command classes.
AbstractCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.AbstractCommand
 
AbstractParentCommand - org.apache.ratis.shell.cli.sh.command中的类
 
AbstractParentCommand(Context, List<Function<Context, Command>>) - 类 的构造器org.apache.ratis.shell.cli.sh.command.AbstractParentCommand
 
AbstractRatisCommand - org.apache.ratis.shell.cli.sh.command中的类
The base class for the ratis shell which need to connect to server.
AbstractRatisCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
AbstractShell - org.apache.ratis.shell.cli中的类
Abstract class for handling command line inputs.
AbstractShell(Context) - 类 的构造器org.apache.ratis.shell.cli.AbstractShell
Creates a new instance of AbstractShell.
AddCommand - org.apache.ratis.shell.cli.sh.peer中的类
Command for add ratis server.
AddCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.peer.AddCommand
 
ADDRESS_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.election.PauseCommand
 
ADDRESS_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
ADDRESS_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.election.TransferCommand
 
ADDRESS_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.peer.AddCommand
 
ADDRESS_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 

B

build() - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell.Builder
 
Builder() - 类 的构造器org.apache.ratis.shell.cli.sh.RatisShell.Builder
 

C

checkReply(RaftClientReply, Supplier<String>, PrintStream) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
Check if the given reply is success.
CliUtils - org.apache.ratis.shell.cli中的类
Utilities for command line interface.
close() - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
 
close() - 接口 中的方法org.apache.ratis.shell.cli.Command
Used to close resources created by commands.
close() - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
 
Command - org.apache.ratis.shell.cli中的接口
An interface for all the commands that can be run from a shell.
compareTo(Command) - 接口 中的方法org.apache.ratis.shell.cli.Command
 
Context - org.apache.ratis.shell.cli.sh.command中的类
A context for ratis-shell.
Context(PrintStream) - 类 的构造器org.apache.ratis.shell.cli.sh.command.Context
Build a context.
Context(PrintStream, boolean, RetryPolicy, RaftProperties, Parameters) - 类 的构造器org.apache.ratis.shell.cli.sh.command.Context
 

D

description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.command.ElectionCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.command.GroupCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.command.LocalCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.command.PeerCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.command.SnapshotCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.election.PauseCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.election.StepDownCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.election.TransferCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.peer.AddCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
description() - 类 中的静态方法org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 

E

ElectionCommand - org.apache.ratis.shell.cli.sh.command中的类
 
ElectionCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.ElectionCommand
 

G

getCloser() - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
 
getCommandName() - 接口 中的方法org.apache.ratis.shell.cli.Command
Gets the command name as input from the shell.
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.command.ElectionCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.command.GroupCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.command.LocalCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.command.PeerCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.command.SnapshotCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.election.PauseCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.election.StepDownCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.election.TransferCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.AddCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
getCommandName() - 类 中的方法org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
getCommands() - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
 
getContext() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractCommand
 
getDescription() - 接口 中的方法org.apache.ratis.shell.cli.Command
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.command.ElectionCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.command.GroupCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.command.LocalCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.command.PeerCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.command.SnapshotCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.election.PauseCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.election.StepDownCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.election.TransferCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.AddCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
getDescription() - 类 中的方法org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
getGroupId(RaftClient, List<RaftPeer>, RaftGroupId, PrintStream) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
Get the group id from the given peers if the given group id is null.
getGroupInfo(RaftClient, List<RaftPeer>, RaftGroupId, PrintStream) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
Get the group info from the given peers.
getGroupInfoReply() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
getIds(String[], BiConsumer<RaftPeerId, InetSocketAddress>) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
getLeader(RaftProtos.RoleInfoProto) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
Get the leader id.
getOptions() - 接口 中的方法org.apache.ratis.shell.cli.Command
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.election.PauseCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.election.TransferCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.AddCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
getOptions() - 类 中的方法org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
getParameters() - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
 
getPeerId(InetSocketAddress) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
 
getPeerId(String, int) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
 
getPeerStream(RaftProtos.RaftPeerRole) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
getPrintStream() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractCommand
 
getPrintStream() - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
 
getProperties() - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
 
getRaftGroup() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
getRetryPolicy() - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
 
getShellName() - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
 
getShellName() - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell
 
getSubCommands() - 接口 中的方法org.apache.ratis.shell.cli.Command
 
getSubCommands() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractParentCommand
 
getUsage() - 接口 中的方法org.apache.ratis.shell.cli.Command
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractParentCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.election.PauseCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.election.StepDownCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.election.TransferCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.AddCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
getUsage() - 类 中的方法org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
GroupCommand - org.apache.ratis.shell.cli.sh.command中的类
Command for the ratis group
GroupCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.GroupCommand
 
GROUPID_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
GroupInfoCommand - org.apache.ratis.shell.cli.sh.group中的类
Command for querying ratis group information.
GroupInfoCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
GroupListCommand - org.apache.ratis.shell.cli.sh.group中的类
Command for querying the group information of a ratis server.
GroupListCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.group.GroupListCommand
 

H

hasSubCommand() - 接口 中的方法org.apache.ratis.shell.cli.Command
If a command has sub-commands, the first argument should be the sub-command's name, all arguments and options will be parsed for the sub-command.

I

isCli() - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
Is this from CLI?

L

loadCommands(Context) - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
Map structure: Command name => Command instance.
loadCommands(Context) - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell
 
LocalCommand - org.apache.ratis.shell.cli.sh.command中的类
Command for local operation, which no need to connect to ratis server
LocalCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.LocalCommand
 

M

main(String[]) - 类 中的静态方法org.apache.ratis.shell.cli.sh.RatisShell
Manage ratis shell command.

N

newBuilder() - 类 中的静态方法org.apache.ratis.shell.cli.sh.RatisShell
 
newRaftClient() - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
newRaftClient(RaftGroup) - 类 中的方法org.apache.ratis.shell.cli.sh.command.Context
Create a new RaftClient from the given group.

O

org.apache.ratis.shell.cli - 程序包 org.apache.ratis.shell.cli
 
org.apache.ratis.shell.cli.sh - 程序包 org.apache.ratis.shell.cli.sh
 
org.apache.ratis.shell.cli.sh.command - 程序包 org.apache.ratis.shell.cli.sh.command
 
org.apache.ratis.shell.cli.sh.election - 程序包 org.apache.ratis.shell.cli.sh.election
 
org.apache.ratis.shell.cli.sh.group - 程序包 org.apache.ratis.shell.cli.sh.group
 
org.apache.ratis.shell.cli.sh.local - 程序包 org.apache.ratis.shell.cli.sh.local
 
org.apache.ratis.shell.cli.sh.peer - 程序包 org.apache.ratis.shell.cli.sh.peer
 
org.apache.ratis.shell.cli.sh.snapshot - 程序包 org.apache.ratis.shell.cli.sh.snapshot
 

P

parseAndValidateArgs(String...) - 接口 中的方法org.apache.ratis.shell.cli.Command
Parses and validates the arguments.
parseInetSocketAddress(String) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
Parse the given string as a InetSocketAddress.
parseRaftGroupId(String) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
Parse the given string as a RaftGroupId.
parseRaftPeers(String) - 类 中的静态方法org.apache.ratis.shell.cli.CliUtils
Parse the given string as a list of RaftPeer.
PATH_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
PauseCommand - org.apache.ratis.shell.cli.sh.election中的类
Command for pause leader election on specific server
PauseCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.election.PauseCommand
 
PEER_ID_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
PEER_ID_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.peer.AddCommand
 
PEER_ID_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
PEER_ID_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
PEER_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
PEER_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
PEER_WITH_NEW_PRIORITY_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
PeerCommand - org.apache.ratis.shell.cli.sh.command中的类
Command for the ratis peer
PeerCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.PeerCommand
 
printf(String, Object...) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractCommand
 
println(Object) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractCommand
 
printUsage() - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
Prints usage for all commands.
processReply(RaftClientReply, Supplier<String>) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 

R

RaftMetaConfCommand - org.apache.ratis.shell.cli.sh.local中的类
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.
RaftMetaConfCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
RatisShell - org.apache.ratis.shell.cli.sh中的类
Shell for manage ratis group.
RatisShell(PrintStream) - 类 的构造器org.apache.ratis.shell.cli.sh.RatisShell
 
RatisShell.Builder - org.apache.ratis.shell.cli.sh中的类
 
RemoveCommand - org.apache.ratis.shell.cli.sh.peer中的类
Command for remove ratis server.
RemoveCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
ResumeCommand - org.apache.ratis.shell.cli.sh.election中的类
Command for resuming leader election on specific server
ResumeCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
run(String...) - 类 中的方法org.apache.ratis.shell.cli.AbstractShell
Handles the specified shell command request, displaying usage if the command format is invalid.
run(CommandLine) - 接口 中的方法org.apache.ratis.shell.cli.Command
Runs the command.
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.election.PauseCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.election.ResumeCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.election.StepDownCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.election.TransferCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupInfoCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.local.RaftMetaConfCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.peer.AddCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.peer.RemoveCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
run(CommandLine) - 类 中的方法org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 

S

SERVER_ADDRESS_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.group.GroupListCommand
 
setParameters(Parameters) - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell.Builder
 
setPrintStream(PrintStream) - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell.Builder
 
SetPriorityCommand - org.apache.ratis.shell.cli.sh.peer中的类
 
SetPriorityCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.peer.SetPriorityCommand
 
setProperties(RaftProperties) - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell.Builder
 
setRetryPolicy(RetryPolicy) - 类 中的方法org.apache.ratis.shell.cli.sh.RatisShell.Builder
 
SnapshotCommand - org.apache.ratis.shell.cli.sh.command中的类
Command for the ratis snapshot
SnapshotCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.command.SnapshotCommand
 
StepDownCommand - org.apache.ratis.shell.cli.sh.election中的类
Command for stepping down ratis leader server.
StepDownCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.election.StepDownCommand
 

T

TAKE_SNAPSHOT_TIMEOUT_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
TakeSnapshotCommand - org.apache.ratis.shell.cli.sh.snapshot中的类
Command for make a ratis server take snapshot.
TakeSnapshotCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.snapshot.TakeSnapshotCommand
 
TIMEOUT_OPTION_NAME - 类 中的静态变量org.apache.ratis.shell.cli.sh.election.TransferCommand
 
TransferCommand - org.apache.ratis.shell.cli.sh.election中的类
Command for transferring the ratis leader to specific server.
TransferCommand(Context) - 类 的构造器org.apache.ratis.shell.cli.sh.election.TransferCommand
 

V

validateArgs(CommandLine) - 接口 中的方法org.apache.ratis.shell.cli.Command
Checks if the arguments are valid or throw InvalidArgumentException.
A B C D E G H I L M N O P R S T V 
跳过导航链接

Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.