Class SanityTestCommand
java.lang.Object
org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
org.apache.bookkeeper.tools.cli.helpers.BookieCommand<SanityTestCommand.SanityFlags>
org.apache.bookkeeper.tools.cli.commands.bookie.SanityTestCommand
A bookie command to sanity test for local bookie.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for sanity command. -
Field Summary
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags) static voidclose(BookKeeper bk, LedgerHandle lh) static CompletableFuture<Boolean>handleAsync(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags) Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
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
-
SanityTestCommand
public SanityTestCommand() -
SanityTestCommand
-
-
Method Details
-
apply
- Specified by:
applyin classBookieCommand<SanityTestCommand.SanityFlags>
-
handleAsync
public static CompletableFuture<Boolean> handleAsync(ServerConfiguration conf, SanityTestCommand.SanityFlags cmdFlags) -
close
-