Class ListBookiesCommand
java.lang.Object
org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
org.apache.bookkeeper.tools.common.BKCommand<ClientFlagsT>
org.apache.bookkeeper.tools.cli.helpers.ClientCommand<DiscoveryFlagsT>
org.apache.bookkeeper.tools.cli.helpers.DiscoveryCommand<ListBookiesCommand.Flags>
org.apache.bookkeeper.tools.cli.commands.bookies.ListBookiesCommand
Command to list available bookies.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for list bookies command. -
Field Summary
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListBookiesCommandprotected voidrun(RegistrationClient regClient, ListBookiesCommand.Flags flags, boolean bookieAddressResolverEnabled) Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.DiscoveryCommand
apply, runMethods inherited from class org.apache.bookkeeper.tools.cli.helpers.ClientCommand
apply, applyMethods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, applyMethods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
Constructor Details
-
ListBookiesCommand
public ListBookiesCommand() -
ListBookiesCommand
-
-
Method Details
-
newListBookiesCommand
-
run
protected void run(RegistrationClient regClient, ListBookiesCommand.Flags flags, boolean bookieAddressResolverEnabled) throws Exception - Specified by:
runin classDiscoveryCommand<ListBookiesCommand.Flags>- Throws:
Exception
-