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
-
public class ListBookiesCommand extends DiscoveryCommand<ListBookiesCommand.Flags>
Command to list available bookies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListBookiesCommand.Flags
Flags for list bookies command.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description ListBookiesCommand()
ListBookiesCommand(ListBookiesCommand.Flags flags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListBookiesCommand
newListBookiesCommand(ListBookiesCommand.Flags flags)
protected void
run(RegistrationClient regClient, ListBookiesCommand.Flags flags, boolean bookieAddressResolverEnabled)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.DiscoveryCommand
apply, run
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.ClientCommand
apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
-
-
-
Constructor Detail
-
ListBookiesCommand
public ListBookiesCommand()
-
ListBookiesCommand
public ListBookiesCommand(ListBookiesCommand.Flags flags)
-
-
Method Detail
-
newListBookiesCommand
public static ListBookiesCommand newListBookiesCommand(ListBookiesCommand.Flags flags)
-
run
protected void run(RegistrationClient regClient, ListBookiesCommand.Flags flags, boolean bookieAddressResolverEnabled) throws java.lang.Exception
- Specified by:
run
in classDiscoveryCommand<ListBookiesCommand.Flags>
- Throws:
java.lang.Exception
-
-