Class SimpleTestCommand
- 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<SimpleTestCommand.Flags>
-
- org.apache.bookkeeper.tools.cli.commands.client.SimpleTestCommand
-
public class SimpleTestCommand extends ClientCommand<SimpleTestCommand.Flags>
A client command that simply tests if a cluster is healthy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleTestCommand.Flags
Flags for simple test command.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description SimpleTestCommand()
SimpleTestCommand(SimpleTestCommand.Flags flags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleTestCommand
newSimpleTestCommand(SimpleTestCommand.Flags flags)
protected void
run(BookKeeper bk, SimpleTestCommand.Flags flags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.ClientCommand
apply, 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
-
SimpleTestCommand
public SimpleTestCommand()
-
SimpleTestCommand
public SimpleTestCommand(SimpleTestCommand.Flags flags)
-
-
Method Detail
-
newSimpleTestCommand
public static SimpleTestCommand newSimpleTestCommand(SimpleTestCommand.Flags flags)
-
run
protected void run(BookKeeper bk, SimpleTestCommand.Flags flags) throws java.lang.Exception
- Specified by:
run
in classClientCommand<SimpleTestCommand.Flags>
- Throws:
java.lang.Exception
-
-